| Submitter | Bartlomiej Zolnierkiewicz |
|---|---|
| Date | Jan. 29, 2010, 4:05 p.m. |
| Message ID | <20100129160512.21495.75268.sendpatchset@localhost> |
| Download | mbox | patch |
| Permalink | /patch/43990/ |
| State | RFC |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
Index: b/include/linux/ide.h =================================================================== --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -682,7 +682,12 @@ typedef struct hwif_s { u8 major; /* our major number */ u8 index; /* 0 for ide0; 1 for ide1; ... */ - u8 channel; /* for dual-port chips: 0=primary, 1=secondary */ + + union { + /* for dual-port chips: 0=primary, 1=secondary */ + u8 channel; + u8 port_no; + }; u32 host_flags;