diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 6 | ||||
| -rw-r--r-- | include/linux/ticable.h | 44 | ||||
| -rw-r--r-- | include/linux/usb.h | 1 | ||||
| -rw-r--r-- | include/linux/usb_usual.h | 5 |
4 files changed, 8 insertions, 48 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index dc75ccbcf991..9a6a41e7079f 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
| @@ -1255,6 +1255,7 @@ int ide_in_drive_list(struct hd_driveid *, const struct drive_list_entry *); | |||
| 1255 | 1255 | ||
| 1256 | #ifdef CONFIG_BLK_DEV_IDEDMA | 1256 | #ifdef CONFIG_BLK_DEV_IDEDMA |
| 1257 | int __ide_dma_bad_drive(ide_drive_t *); | 1257 | int __ide_dma_bad_drive(ide_drive_t *); |
| 1258 | int ide_id_dma_bug(ide_drive_t *); | ||
| 1258 | 1259 | ||
| 1259 | u8 ide_find_dma_mode(ide_drive_t *, u8); | 1260 | u8 ide_find_dma_mode(ide_drive_t *, u8); |
| 1260 | 1261 | ||
| @@ -1264,7 +1265,6 @@ static inline u8 ide_max_dma_mode(ide_drive_t *drive) | |||
| 1264 | } | 1265 | } |
| 1265 | 1266 | ||
| 1266 | void ide_dma_off(ide_drive_t *); | 1267 | void ide_dma_off(ide_drive_t *); |
| 1267 | void ide_dma_verbose(ide_drive_t *); | ||
| 1268 | int ide_set_dma(ide_drive_t *); | 1268 | int ide_set_dma(ide_drive_t *); |
| 1269 | ide_startstop_t ide_dma_intr(ide_drive_t *); | 1269 | ide_startstop_t ide_dma_intr(ide_drive_t *); |
| 1270 | 1270 | ||
| @@ -1287,6 +1287,7 @@ extern void ide_dma_timeout(ide_drive_t *); | |||
| 1287 | #endif /* CONFIG_BLK_DEV_IDEDMA_PCI */ | 1287 | #endif /* CONFIG_BLK_DEV_IDEDMA_PCI */ |
| 1288 | 1288 | ||
| 1289 | #else | 1289 | #else |
| 1290 | static inline int ide_id_dma_bug(ide_drive_t *drive) { return 0; } | ||
| 1290 | static inline u8 ide_find_dma_mode(ide_drive_t *drive, u8 speed) { return 0; } | 1291 | static inline u8 ide_find_dma_mode(ide_drive_t *drive, u8 speed) { return 0; } |
| 1291 | static inline u8 ide_max_dma_mode(ide_drive_t *drive) { return 0; } | 1292 | static inline u8 ide_max_dma_mode(ide_drive_t *drive) { return 0; } |
| 1292 | static inline void ide_dma_off(ide_drive_t *drive) { ; } | 1293 | static inline void ide_dma_off(ide_drive_t *drive) { ; } |
| @@ -1333,8 +1334,7 @@ static inline void ide_set_hwifdata (ide_hwif_t * hwif, void *data) | |||
| 1333 | hwif->hwif_data = data; | 1334 | hwif->hwif_data = data; |
| 1334 | } | 1335 | } |
| 1335 | 1336 | ||
| 1336 | /* ide-lib.c */ | 1337 | const char *ide_xfer_verbose(u8 mode); |
| 1337 | extern char *ide_xfer_verbose(u8 xfer_rate); | ||
| 1338 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); | 1338 | extern void ide_toggle_bounce(ide_drive_t *drive, int on); |
| 1339 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); | 1339 | extern int ide_set_xfer_rate(ide_drive_t *drive, u8 rate); |
| 1340 | 1340 | ||
diff --git a/include/linux/ticable.h b/include/linux/ticable.h deleted file mode 100644 index 8c2212086dcd..000000000000 --- a/include/linux/ticable.h +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | /* Hey EMACS -*- linux-c -*- | ||
| 2 | * | ||
| 3 | * tipar/tiser/tiusb - low level driver for handling link cables | ||
| 4 | * designed for Texas Instruments graphing calculators. | ||
| 5 | * | ||
| 6 | * Copyright (C) 2000-2002, Romain Lievin <roms@lpg.ticalc.org> | ||
| 7 | * | ||
| 8 | * Redistribution of this file is permitted under the terms of the GNU | ||
| 9 | * Public License (GPL) | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef _TICABLE_H | ||
| 13 | #define _TICABLE_H 1 | ||
| 14 | |||
| 15 | /* Internal default constants for the kernel module */ | ||
| 16 | #define TIMAXTIME 15 /* 1.5 seconds */ | ||
| 17 | #define IO_DELAY 10 /* 10 micro-seconds */ | ||
| 18 | |||
| 19 | /* Major & minor number for character devices */ | ||
| 20 | #define TIPAR_MAJOR 115 /* 0 to 7 */ | ||
| 21 | #define TIPAR_MINOR 0 | ||
| 22 | |||
| 23 | #define TISER_MAJOR 115 /* 8 to 15 */ | ||
| 24 | #define TISER_MINOR 8 | ||
| 25 | |||
| 26 | #define TIUSB_MAJOR 115 /* 16 to 31 */ | ||
| 27 | #define TIUSB_MINOR 16 | ||
| 28 | |||
| 29 | /* | ||
| 30 | * Request values for the 'ioctl' function. | ||
| 31 | */ | ||
| 32 | #define IOCTL_TIPAR_DELAY _IOW('p', 0xa8, int) /* set delay */ | ||
| 33 | #define IOCTL_TIPAR_TIMEOUT _IOW('p', 0xa9, int) /* set timeout */ | ||
| 34 | |||
| 35 | #define IOCTL_TISER_DELAY _IOW('p', 0xa0, int) /* set delay */ | ||
| 36 | #define IOCTL_TISER_TIMEOUT _IOW('p', 0xa1, int) /* set timeout */ | ||
| 37 | |||
| 38 | #define IOCTL_TIUSB_TIMEOUT _IOW('N', 0x20, int) /* set timeout */ | ||
| 39 | #define IOCTL_TIUSB_RESET_DEVICE _IOW('N', 0x21, int) /* reset device */ | ||
| 40 | #define IOCTL_TIUSB_RESET_PIPES _IOW('N', 0x22, int) /* reset both pipes*/ | ||
| 41 | #define IOCTL_TIUSB_GET_MAXPS _IOR('N', 0x23, int) /* max packet size */ | ||
| 42 | #define IOCTL_TIUSB_GET_DEVID _IOR('N', 0x24, int) /* get device type */ | ||
| 43 | |||
| 44 | #endif /* TICABLE_H */ | ||
diff --git a/include/linux/usb.h b/include/linux/usb.h index 416ee7617d9e..5fc8ff73b7bb 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
| @@ -107,6 +107,7 @@ enum usb_interface_condition { | |||
| 107 | * @condition: binding state of the interface: not bound, binding | 107 | * @condition: binding state of the interface: not bound, binding |
| 108 | * (in probe()), bound to a driver, or unbinding (in disconnect()) | 108 | * (in probe()), bound to a driver, or unbinding (in disconnect()) |
| 109 | * @is_active: flag set when the interface is bound and not suspended. | 109 | * @is_active: flag set when the interface is bound and not suspended. |
| 110 | * @sysfs_files_created: sysfs attributes exist | ||
| 110 | * @needs_remote_wakeup: flag set when the driver requires remote-wakeup | 111 | * @needs_remote_wakeup: flag set when the driver requires remote-wakeup |
| 111 | * capability during autosuspend. | 112 | * capability during autosuspend. |
| 112 | * @dev: driver model's view of this device | 113 | * @dev: driver model's view of this device |
diff --git a/include/linux/usb_usual.h b/include/linux/usb_usual.h index 1b792b9286ba..a417b09b8b3d 100644 --- a/include/linux/usb_usual.h +++ b/include/linux/usb_usual.h | |||
| @@ -48,7 +48,10 @@ | |||
| 48 | US_FLAG(IGNORE_DEVICE, 0x00000800) \ | 48 | US_FLAG(IGNORE_DEVICE, 0x00000800) \ |
| 49 | /* Don't claim device */ \ | 49 | /* Don't claim device */ \ |
| 50 | US_FLAG(CAPACITY_HEURISTICS, 0x00001000) \ | 50 | US_FLAG(CAPACITY_HEURISTICS, 0x00001000) \ |
| 51 | /* sometimes sizes is too big */ | 51 | /* sometimes sizes is too big */ \ |
| 52 | US_FLAG(MAX_SECTORS_MIN,0x00002000) \ | ||
| 53 | /* Sets max_sectors to arch min */ | ||
| 54 | |||
| 52 | 55 | ||
| 53 | #define US_FLAG(name, value) US_FL_##name = value , | 56 | #define US_FLAG(name, value) US_FL_##name = value , |
| 54 | enum { US_DO_ALL_FLAGS }; | 57 | enum { US_DO_ALL_FLAGS }; |
