diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hdreg.h | 6 | ||||
| -rw-r--r-- | include/linux/ide.h | 26 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 2 |
3 files changed, 6 insertions, 28 deletions
diff --git a/include/linux/hdreg.h b/include/linux/hdreg.h index b5d660089de4..2b54eac738ea 100644 --- a/include/linux/hdreg.h +++ b/include/linux/hdreg.h | |||
| @@ -80,10 +80,12 @@ | |||
| 80 | /* | 80 | /* |
| 81 | * Define standard taskfile in/out register | 81 | * Define standard taskfile in/out register |
| 82 | */ | 82 | */ |
| 83 | #define IDE_TASKFILE_STD_OUT_FLAGS 0xFE | ||
| 84 | #define IDE_TASKFILE_STD_IN_FLAGS 0xFE | 83 | #define IDE_TASKFILE_STD_IN_FLAGS 0xFE |
| 85 | #define IDE_HOB_STD_OUT_FLAGS 0x3C | ||
| 86 | #define IDE_HOB_STD_IN_FLAGS 0x3C | 84 | #define IDE_HOB_STD_IN_FLAGS 0x3C |
| 85 | #ifndef __KERNEL__ | ||
| 86 | #define IDE_TASKFILE_STD_OUT_FLAGS 0xFE | ||
| 87 | #define IDE_HOB_STD_OUT_FLAGS 0x3C | ||
| 88 | #endif | ||
| 87 | 89 | ||
| 88 | typedef unsigned char task_ioreg_t; | 90 | typedef unsigned char task_ioreg_t; |
| 89 | typedef unsigned long sata_ioreg_t; | 91 | typedef unsigned long sata_ioreg_t; |
diff --git a/include/linux/ide.h b/include/linux/ide.h index e99019057ba6..a39c3c59789d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -1201,37 +1201,11 @@ extern u64 ide_get_error_location(ide_drive_t *, char *); | |||
| 1201 | */ | 1201 | */ |
| 1202 | typedef enum { | 1202 | typedef enum { |
| 1203 | ide_wait, /* insert rq at end of list, and wait for it */ | 1203 | ide_wait, /* insert rq at end of list, and wait for it */ |
| 1204 | ide_next, /* insert rq immediately after current request */ | ||
| 1205 | ide_preempt, /* insert rq in front of current request */ | 1204 | ide_preempt, /* insert rq in front of current request */ |
| 1206 | ide_head_wait, /* insert rq in front of current request and wait for it */ | 1205 | ide_head_wait, /* insert rq in front of current request and wait for it */ |
| 1207 | ide_end /* insert rq at end of list, but don't wait for it */ | 1206 | ide_end /* insert rq at end of list, but don't wait for it */ |
| 1208 | } ide_action_t; | 1207 | } ide_action_t; |
| 1209 | 1208 | ||
| 1210 | /* | ||
| 1211 | * This function issues a special IDE device request | ||
| 1212 | * onto the request queue. | ||
| 1213 | * | ||
| 1214 | * If action is ide_wait, then the rq is queued at the end of the | ||
| 1215 | * request queue, and the function sleeps until it has been processed. | ||
| 1216 | * This is for use when invoked from an ioctl handler. | ||
| 1217 | * | ||
| 1218 | * If action is ide_preempt, then the rq is queued at the head of | ||
| 1219 | * the request queue, displacing the currently-being-processed | ||
| 1220 | * request and this function returns immediately without waiting | ||
| 1221 | * for the new rq to be completed. This is VERY DANGEROUS, and is | ||
| 1222 | * intended for careful use by the ATAPI tape/cdrom driver code. | ||
| 1223 | * | ||
| 1224 | * If action is ide_next, then the rq is queued immediately after | ||
| 1225 | * the currently-being-processed-request (if any), and the function | ||
| 1226 | * returns without waiting for the new rq to be completed. As above, | ||
| 1227 | * This is VERY DANGEROUS, and is intended for careful use by the | ||
| 1228 | * ATAPI tape/cdrom driver code. | ||
| 1229 | * | ||
| 1230 | * If action is ide_end, then the rq is queued at the end of the | ||
| 1231 | * request queue, and the function returns immediately without waiting | ||
| 1232 | * for the new rq to be completed. This is again intended for careful | ||
| 1233 | * use by the ATAPI tape/cdrom driver code. | ||
| 1234 | */ | ||
| 1235 | extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t); | 1209 | extern int ide_do_drive_cmd(ide_drive_t *, struct request *, ide_action_t); |
| 1236 | 1210 | ||
| 1237 | /* | 1211 | /* |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 7b387faedb4d..efb60d06caab 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -620,6 +620,7 @@ | |||
| 620 | #define PCI_DEVICE_ID_SI_961 0x0961 | 620 | #define PCI_DEVICE_ID_SI_961 0x0961 |
| 621 | #define PCI_DEVICE_ID_SI_962 0x0962 | 621 | #define PCI_DEVICE_ID_SI_962 0x0962 |
| 622 | #define PCI_DEVICE_ID_SI_963 0x0963 | 622 | #define PCI_DEVICE_ID_SI_963 0x0963 |
| 623 | #define PCI_DEVICE_ID_SI_965 0x0965 | ||
| 623 | #define PCI_DEVICE_ID_SI_5511 0x5511 | 624 | #define PCI_DEVICE_ID_SI_5511 0x5511 |
| 624 | #define PCI_DEVICE_ID_SI_5513 0x5513 | 625 | #define PCI_DEVICE_ID_SI_5513 0x5513 |
| 625 | #define PCI_DEVICE_ID_SI_5518 0x5518 | 626 | #define PCI_DEVICE_ID_SI_5518 0x5518 |
| @@ -1234,6 +1235,7 @@ | |||
| 1234 | #define PCI_DEVICE_ID_VIA_8703_51_0 0x3148 | 1235 | #define PCI_DEVICE_ID_VIA_8703_51_0 0x3148 |
| 1235 | #define PCI_DEVICE_ID_VIA_8237_SATA 0x3149 | 1236 | #define PCI_DEVICE_ID_VIA_8237_SATA 0x3149 |
| 1236 | #define PCI_DEVICE_ID_VIA_XN266 0x3156 | 1237 | #define PCI_DEVICE_ID_VIA_XN266 0x3156 |
| 1238 | #define PCI_DEVICE_ID_VIA_6410 0x3164 | ||
| 1237 | #define PCI_DEVICE_ID_VIA_8754C_0 0x3168 | 1239 | #define PCI_DEVICE_ID_VIA_8754C_0 0x3168 |
| 1238 | #define PCI_DEVICE_ID_VIA_8235 0x3177 | 1240 | #define PCI_DEVICE_ID_VIA_8235 0x3177 |
| 1239 | #define PCI_DEVICE_ID_VIA_8385_0 0x3188 | 1241 | #define PCI_DEVICE_ID_VIA_8385_0 0x3188 |
