]>
Commit | Line | Data |
---|---|---|
01f950e2 PM |
1 | 2004-jul-30: |
2 | * scsi_id.c, scsi_serial.c: Align the buffer passed to scsi_serial, | |
3 | don't bother aligning and memcpy-ing the result in scsi_inquiry. | |
4 | Aligning to 512 probably does not help, since the IO length of | |
5 | 254 is not a multiple of 512. | |
6 | ||
7 | 2004-jul-30: | |
8 | * scsi.h, scsi_serial.c: Use a define for the SCSI INQUIRY buffer | |
9 | length. | |
10 | ||
11 | 2004-jul-30: | |
12 | * scsi_id.c: Patch from <christophe.varoqui@free.fr> add a -u flag | |
13 | to substitute white space with underscores so it is easier to use | |
14 | the output as a device name. | |
15 | ||
16 | 2004-jul-30: | |
17 | * scsi_serial.c: Patch from Hannes Reinecke <hare@suse.de> use 254 | |
18 | bytes for SCSI INQUIRY commands. | |
19 | ||
20 | 2004-jul-28: | |
21 | * scsi_id.h, scsi_serial.c: get rid of dumb/dead code, and use a | |
22 | 512 byte aligned buffer. | |
23 | ||
062db23d PM |
24 | 2004-jun-23: |
25 | * scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some | |
26 | devices (maybe broken ones) are giving really long id's. | |
27 | ||
28 | 2004-jun-17: | |
29 | * Makefile: Olaf Hering add spotless target (already in udev). | |
30 | ||
31 | 2004-jun-17: | |
32 | * scsi_serial.c: Include linux/compiler.h so we can build with | |
33 | klibc using kernel headers. | |
34 | ||
35 | 2004-may-24: | |
36 | * scsi_id.c: Rename major and minor to maj min to avoid compiler | |
37 | warnings when compiled with -D_GNU_SOURCE. | |
38 | ||
39 | 2004-mar-30: | |
40 | * scsi_id.config: Minor wording changes | |
41 | ||
42 | 2004-mar-30: | |
43 | * scsi_id.h: Don't supply a makedev() when built under klibc. | |
44 | ||
45 | 2004-mar-30: | |
46 | * scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line | |
47 | options override generic options. | |
48 | ||
49 | 2004-mar-05: | |
50 | * scsi_serial.c: Log INQUIRY failure, including the | |
51 | failing page code and vpd values. And add a dprintf() to | |
52 | the scsi_inquiry function. | |
53 | ||
54 | 2004-mar-02: | |
55 | * gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal | |
56 | <atul.sabharwal@intel.com> change to not require that sysfs be | |
57 | in the mount tab (and default to "/sys"), and fix so scsi_id | |
58 | results containing spaces work correctly. | |
59 | ||
60 | 2004-mar-02: | |
61 | * scsi_id.8: Escape '-' with '\-'. | |
62 | ||
b484e436 PM |
63 | 2004-feb-25: |
64 | * scsi_id.8: Add verbage about usage with udev, and running via | |
65 | hotplug. | |
66 | ||
67 | 2004-feb-25: | |
68 | * scsi_id.c, scsi_id.8: Disable support for -e (all output to | |
69 | stderr) as it cannot be used in any useful way, and the -c | |
70 | (device specific callout) as the code is incomplete and has no | |
71 | users. | |
72 | ||
73 | 2004-feb-25: | |
74 | * scsi_id.c: Don't print errno for NULL return from | |
75 | sysfs_get_classdev_device. | |
76 | ||
77 | 2004-feb-23: | |
78 | * scsi_id.c: Get rid of dead/leftover code that checked | |
79 | if we are on a scsi bus. | |
80 | ||
81 | 2004-feb-23: | |
82 | * scsi_serial.c, scsi_id.c: Use ":" consistently in output messages. | |
83 | ||
84 | 2004-feb-23: | |
85 | * scsi_serial.c: Add missing new lines for some error messages. | |
86 | ||
87 | 2004-feb-23: | |
88 | * scsi_serial.c: open O_NONBLOCK so we handle tape drives without | |
89 | tapes loaded. | |
90 | ||
91 | 2004-feb-20: | |
92 | * scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get | |
93 | around problems when building with udev (udev libsysfs files | |
94 | were rearranged). | |
95 | ||
96 | 2004-feb-19: | |
97 | * scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support | |
98 | partitions via looking for a parent of the target path. Uses | |
99 | libsysfs functions to do most of the work, and includes changing | |
100 | a lot of variables to be struct sysfs_device instead of | |
101 | sysfs_class_device. | |
102 | ||
103 | 2004-feb-19: | |
104 | * Makefile: Version 0.4 | |
105 | ||
e996d978 PM |
106 | 2004-jan-15: |
107 | * Makefile: Version 0.3 | |
108 | ||
109 | 2004-jan-13: | |
110 | * scsi_id.c, Makefile: Fix prefix usage with scsi_id.config. | |
111 | ||
112 | 2004-jan-13: | |
113 | * scsi_id.config: Clean up some comment entries. | |
114 | ||
115 | 2004-jan-13: | |
116 | * Makefile: Install the sample scsi_id.config file. | |
117 | ||
118 | 2004-jan-13: | |
119 | * Makefile: Use DESTDIR in all install/uninstall rules, per | |
120 | problem reported by Svetoslav Slavtchev. | |
121 | ||
122 | 2004-jan-12: | |
123 | * scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current | |
124 | sysfs 0.4, based on patch from Dan Stekloff, but uses | |
125 | sysfs_read_attribute_value instead of | |
126 | sysfs_get_value_from_attributes. | |
127 | ||
128 | 2004-jan-08: | |
129 | * scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME. | |
130 | ||
131 | 2004-jan-08: | |
132 | * scsi_id.c: Must now use sysfs_open_class_device_path instead of the | |
133 | previous sysfs_open_class_device. | |
134 | ||
135 | 2003-dec-07: | |
136 | * Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and | |
137 | add --fno-builtin | |
138 | ||
1bed1db4 PM |
139 | 2003-dec-05: |
140 | * Makefile, scsi_id.8: Add a man page. | |
141 | ||
142 | 2003-dec-04: | |
143 | * Makefile: Set and use variables that might be passed down when | |
144 | built under udev (with or without klibc), don't set LDFLAGS or | |
145 | STRIP. | |
146 | ||
147 | 2003-dec-04: | |
148 | * scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options, | |
149 | no space was allocated for the creation of the new argv[] | |
150 | strings. | |
151 | ||
152 | 2003-dec-04: | |
153 | * scsi_id.c: Catch too long a line in the config file. | |
154 | ||
155 | 2003-dec-02: | |
156 | * scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header | |
157 | problem when built with klibc. | |
158 | ||
159 | 2003-dec-02: | |
160 | * scsi_id.h: Add define of makedev() if built with klibc. | |
161 | ||
162 | 2003-dec-02: | |
163 | * scsi_id.c: reset optind to 1 since klibc does not work if it is | |
164 | reset to zero. | |
165 | ||
166 | 2003-dec-02: | |
167 | * scsi_id.c: remove fflush() as it is not needed, and is not | |
168 | supported by klibc. | |
169 | ||
170 | 2003-dec-02: | |
171 | * scsi_serial.c: Make the functions do_scsi_page0_inquiry and | |
172 | do_scsi_page80_inquiry static. | |
173 | ||
174 | 2003-dec-01: | |
175 | * scsi_id.c: Don't use syslog LOG_PID, as it is not supported by | |
176 | klibc. | |
177 | ||
178 | 2003-dec-01: | |
179 | * scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs | |
180 | if built under klibc. | |
181 | ||
182 | 2003-dec-01: | |
183 | * Makefile: Use "override" for CFLAGS so we can pass CFLAGS values | |
184 | down when built with udev | |
185 | ||
186 | 2003-dec-01: | |
187 | * scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION. | |
188 | ||
189 | 2003-nov-25: | |
190 | * scsi_id.c: Remove getopt_long (long option names), as there | |
191 | is no support for that in klibc. | |
192 | ||
193 | 2003-nov-17: | |
e996d978 PM |
194 | * scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check |
195 | result of setting model, not vendor in per_dev_options. | |
1bed1db4 PM |
196 | |
197 | 2003-nov-03: | |
198 | * scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h. | |
199 | ||
200 | 2003-nov-03: | |
e996d978 | 201 | * scsi_id.h: Fix scsi_id.h so var args in macros works ok with |
1bed1db4 | 202 | older gcc. |