diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-20 00:41:18 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-20 00:41:18 -0500 |
| commit | 98a5d024eb589a863c1c79f3c3f8ecb666c0eec9 (patch) | |
| tree | 456799ad9fce41cdb2186ba3872c7a077ec3bd05 /include/linux | |
| parent | d67e7ebb2a15bf0429c55f2fc1c4b02808367874 (diff) | |
| parent | 1b15688b31d8c88881102426279e8cc03953860b (diff) | |
Merge branch 'upstream'
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cciss_ioctl.h | 2 | ||||
| -rw-r--r-- | include/linux/hdreg.h | 6 | ||||
| -rw-r--r-- | include/linux/ide.h | 30 | ||||
| -rw-r--r-- | include/linux/mm.h | 2 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 2 |
5 files changed, 12 insertions, 30 deletions
diff --git a/include/linux/cciss_ioctl.h b/include/linux/cciss_ioctl.h index 424d5e622b43..6e27f42e3a57 100644 --- a/include/linux/cciss_ioctl.h +++ b/include/linux/cciss_ioctl.h | |||
| @@ -10,8 +10,8 @@ | |||
| 10 | typedef struct _cciss_pci_info_struct | 10 | typedef struct _cciss_pci_info_struct |
| 11 | { | 11 | { |
| 12 | unsigned char bus; | 12 | unsigned char bus; |
| 13 | unsigned short domain; | ||
| 14 | unsigned char dev_fn; | 13 | unsigned char dev_fn; |
| 14 | unsigned short domain; | ||
| 15 | __u32 board_id; | 15 | __u32 board_id; |
| 16 | } cciss_pci_info_struct; | 16 | } cciss_pci_info_struct; |
| 17 | 17 | ||
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 ac8b25fa6506..a39c3c59789d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -1089,9 +1089,11 @@ enum { | |||
| 1089 | 1089 | ||
| 1090 | /* | 1090 | /* |
| 1091 | * Subdrivers support. | 1091 | * Subdrivers support. |
| 1092 | * | ||
| 1093 | * The gendriver.owner field should be set to the module owner of this driver. | ||
| 1094 | * The gendriver.name field should be set to the name of this driver | ||
| 1092 | */ | 1095 | */ |
| 1093 | typedef struct ide_driver_s { | 1096 | typedef struct ide_driver_s { |
| 1094 | struct module *owner; | ||
| 1095 | const char *version; | 1097 | const char *version; |
| 1096 | u8 media; | 1098 | u8 media; |
| 1097 | unsigned supports_dsc_overlap : 1; | 1099 | unsigned supports_dsc_overlap : 1; |
| @@ -1199,37 +1201,11 @@ extern u64 ide_get_error_location(ide_drive_t *, char *); | |||
| 1199 | */ | 1201 | */ |
| 1200 | typedef enum { | 1202 | typedef enum { |
| 1201 | 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 */ |
| 1202 | ide_next, /* insert rq immediately after current request */ | ||
| 1203 | ide_preempt, /* insert rq in front of current request */ | 1204 | ide_preempt, /* insert rq in front of current request */ |
| 1204 | 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 */ |
| 1205 | 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 */ |
| 1206 | } ide_action_t; | 1207 | } ide_action_t; |
| 1207 | 1208 | ||
| 1208 | /* | ||
| 1209 | * This function issues a special IDE device request | ||
| 1210 | * onto the request queue. | ||
| 1211 | * | ||
| 1212 | * If action is ide_wait, then the rq is queued at the end of the | ||
| 1213 | * request queue, and the function sleeps until it has been processed. | ||
| 1214 | * This is for use when invoked from an ioctl handler. | ||
| 1215 | * | ||
| 1216 | * If action is ide_preempt, then the rq is queued at the head of | ||
| 1217 | * the request queue, displacing the currently-being-processed | ||
| 1218 | * request and this function returns immediately without waiting | ||
| 1219 | * for the new rq to be completed. This is VERY DANGEROUS, and is | ||
| 1220 | * intended for careful use by the ATAPI tape/cdrom driver code. | ||
| 1221 | * | ||
| 1222 | * If action is ide_next, then the rq is queued immediately after | ||
| 1223 | * the currently-being-processed-request (if any), and the function | ||
| 1224 | * returns without waiting for the new rq to be completed. As above, | ||
| 1225 | * This is VERY DANGEROUS, and is intended for careful use by the | ||
| 1226 | * ATAPI tape/cdrom driver code. | ||
| 1227 | * | ||
| 1228 | * If action is ide_end, then the rq is queued at the end of the | ||
| 1229 | * request queue, and the function returns immediately without waiting | ||
| 1230 | * for the new rq to be completed. This is again intended for careful | ||
| 1231 | * use by the ATAPI tape/cdrom driver code. | ||
| 1232 | */ | ||
| 1233 | 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); |
| 1234 | 1210 | ||
| 1235 | /* | 1211 | /* |
diff --git a/include/linux/mm.h b/include/linux/mm.h index 1013a42d10b1..0986d19be0b7 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
| @@ -940,7 +940,9 @@ unsigned long max_sane_readahead(unsigned long nr); | |||
| 940 | 940 | ||
| 941 | /* Do stack extension */ | 941 | /* Do stack extension */ |
| 942 | extern int expand_stack(struct vm_area_struct *vma, unsigned long address); | 942 | extern int expand_stack(struct vm_area_struct *vma, unsigned long address); |
| 943 | #ifdef CONFIG_IA64 | ||
| 943 | extern int expand_upwards(struct vm_area_struct *vma, unsigned long address); | 944 | extern int expand_upwards(struct vm_area_struct *vma, unsigned long address); |
| 945 | #endif | ||
| 944 | 946 | ||
| 945 | /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ | 947 | /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ |
| 946 | extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr); | 948 | extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr); |
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 |
