diff options
author | patmans@us.ibm.com <patmans@us.ibm.com> | 2004-06-26 01:18:17 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:36:21 -0700 |
commit | 062db23d5eb303ef49d2ff805381229932f44246 (patch) | |
tree | fa4bec0bad640e27afce8f676c0647476fd31348 /extras/scsi_id/scsi_id.h | |
parent | c59a72105d0ff8a47b31f1829dd3c166ebd859d0 (diff) |
[PATCH] update udev scsi_id to scsi_id 0.5
This patch syncs the scsi_id in the udev tree to version 0.5.
Diffstat (limited to 'extras/scsi_id/scsi_id.h')
-rw-r--r-- | extras/scsi_id/scsi_id.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/extras/scsi_id/scsi_id.h b/extras/scsi_id/scsi_id.h index 9edb39ec49..10599ebb5f 100644 --- a/extras/scsi_id/scsi_id.h +++ b/extras/scsi_id/scsi_id.h @@ -37,7 +37,7 @@ * MAX_SERIAL_LEN: the maximum length of the serial number, including * added prefixes such as vendor and product (model) strings. */ -#define MAX_SERIAL_LEN 128 +#define MAX_SERIAL_LEN 256 /* * MAX_BUFFER_LEN: maximum buffer size and line length used while reading @@ -53,10 +53,6 @@ extern int scsi_get_serial (struct sysfs_device *scsi_dev, const char extern void log_message (int level, const char *format, ...) __attribute__ ((format (printf, 2, 3))); -#ifdef __KLIBC__ -#define makedev(major, minor) ((major) << 8) | (minor) -#endif - #ifndef u8 typedef unsigned char u8; #endif |