summaryrefslogtreecommitdiff
path: root/extras/scsi_id/ChangeLog
blob: d2a8be5b18b3548120da439c44f1d83396f63a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
2004-oct-15:
	* Makefile: Add $(QUIET) to sync with the udev version.

2004-oct-06:
	* scsi_id.c: fix alignment for use with 64 bit pointers

2004-jul-30:
	* scsi_id.c, scsi_serial.c: Align the buffer passed to scsi_serial,
	  don't bother aligning and memcpy-ing the result in scsi_inquiry.
	  Aligning to 512 probably does not help, since the IO length of
	  254 is not a multiple of 512.

2004-jul-30:
	* scsi.h, scsi_serial.c: Use a define for the SCSI INQUIRY buffer
	  length.

2004-jul-30:
	* scsi_id.c: Patch from <christophe.varoqui@free.fr> add a -u flag
	 to substitute white space with underscores so it is easier to use
	 the output as a device name.

2004-jul-30:
	* scsi_serial.c: Patch from Hannes Reinecke <hare@suse.de> use 254
	  bytes for SCSI INQUIRY commands.

2004-jul-28:
	* scsi_id.h, scsi_serial.c: get rid of dumb/dead code, and use a
	  512 byte aligned buffer.

2004-jun-23:
	* scsi_id.h: increase MAX_SERIAL_LEN from 128 to 256, as some
	  devices (maybe broken ones) are giving really long id's.

2004-jun-17:
	* Makefile: Olaf Hering add spotless target (already in udev).

2004-jun-17:
	* scsi_serial.c: Include linux/compiler.h so we can build with
	  klibc using kernel headers.

2004-may-24:
	* scsi_id.c: Rename major and minor to maj min to avoid compiler
	  warnings when compiled with -D_GNU_SOURCE.

2004-mar-30:
	* scsi_id.config: Minor wording changes

2004-mar-30:
	* scsi_id.h: Don't supply a makedev() when built under klibc.

2004-mar-30:
	* scsi_id.c: Ken Brush <ken@cgi101.com> Have the command line
	  options override generic options.

2004-mar-05:
	* scsi_serial.c: Log INQUIRY failure, including the
	  failing page code and vpd values. And add a dprintf() to
	  the scsi_inquiry function.

2004-mar-02:
	* gen_scsi_id_udev_rules.sh: Per bug report from Atul Sabharwal
	  <atul.sabharwal@intel.com> change to not require that sysfs be
	  in the mount tab (and default to "/sys"), and fix so scsi_id
	  results containing spaces work correctly.

2004-mar-02:
	* scsi_id.8: Escape '-' with '\-'.

2004-feb-25:
	* scsi_id.8: Add verbage about usage with udev, and running via
	  hotplug.

2004-feb-25:
	* scsi_id.c, scsi_id.8: Disable support for -e (all output to
	  stderr) as it cannot be used in any useful way, and the -c
	  (device specific callout) as the code is incomplete and has no
	  users.

2004-feb-25:
	* scsi_id.c: Don't print errno for NULL return from
	  sysfs_get_classdev_device.

2004-feb-23:
	* scsi_id.c: Get rid of dead/leftover code that checked
	  if we are on a scsi bus.

2004-feb-23:
	* scsi_serial.c, scsi_id.c: Use ":" consistently in output messages.

2004-feb-23:
	* scsi_serial.c: Add missing new lines for some error messages.

2004-feb-23:
	* scsi_serial.c: open O_NONBLOCK so we handle tape drives without
	  tapes loaded.

2004-feb-20:
	* scsi_id.h, scsi_id.c: Remove hacks based on KLIBC define to get
	  around problems when building with udev (udev libsysfs files
	  were rearranged).

2004-feb-19:
	* scsi_id.h, scsi_id.c, scsi_serial.c: As done in udev code, support
	  partitions via looking for a parent of the target path. Uses
	  libsysfs functions to do most of the work, and includes changing
	  a lot of variables to be struct sysfs_device instead of
	  sysfs_class_device.

2004-feb-19:
	* Makefile: Version 0.4

2004-jan-15:
	* Makefile: Version 0.3

2004-jan-13:
	* scsi_id.c, Makefile: Fix prefix usage with scsi_id.config.

2004-jan-13:
	* scsi_id.config: Clean up some comment entries.

2004-jan-13:
	* Makefile: Install the sample scsi_id.config file.

2004-jan-13:
	* Makefile: Use DESTDIR in all install/uninstall rules, per
	  problem reported by Svetoslav Slavtchev.

2004-jan-12:
	* scsi_id.h, scsi_id.c, scsi_serial.c: Fix to work with current
	  sysfs 0.4, based on patch from Dan Stekloff, but uses
	  sysfs_read_attribute_value instead of
	  sysfs_get_value_from_attributes.

2004-jan-08:
	* scsi_id.c: SYSFS_BUS_DIR was replaced with SYSFS_BUS_NAME.

2004-jan-08:
	* scsi_id.c: Must now use sysfs_open_class_device_path instead of the
	  previous sysfs_open_class_device.

2003-dec-07:
	* Makefile: patch from Olaf Hering <olh@suse.de> remove DEBUG and
	  add --fno-builtin

2003-dec-05:
	* Makefile, scsi_id.8: Add a man page.

2003-dec-04:
	* Makefile: Set and use variables that might be passed down when
	  built under udev (with or without klibc), don't set LDFLAGS or
	  STRIP.

2003-dec-04:
	* scsi_id.c, scsi_id.h: Fix a bad bug - when parsing file options,
	  no space was allocated for the creation of the new argv[]
	  strings.

2003-dec-04:
	* scsi_id.c: Catch too long a line in the config file.

2003-dec-02:
	* scsi_id.h: Add u8 typedef to avoid ummm scsi.h kernel header
	  problem when built with klibc.

2003-dec-02:
	* scsi_id.h: Add define of makedev() if built with klibc.

2003-dec-02:
	* scsi_id.c: reset optind to 1 since klibc does not work if it is
	  reset to zero.

2003-dec-02:
	* scsi_id.c: remove fflush() as it is not needed, and is not
	  supported by klibc.

2003-dec-02:
	* scsi_serial.c: Make the functions do_scsi_page0_inquiry and
	  do_scsi_page80_inquiry static.

2003-dec-01:
	* scsi_id.c: Don't use syslog LOG_PID, as it is not supported by
	  klibc.

2003-dec-01:
	* scsi_id.c, scsi_serial.c: Hack - change include path to libsysfs
	  if built under klibc.

2003-dec-01:
	* Makefile: Use "override" for CFLAGS so we can pass CFLAGS values
	  down when built with udev

2003-dec-01:
	* scsi_id.c, Makefile: Use SCSI_ID_VERSION instead of VERSION.

2003-nov-25:
	* scsi_id.c: Remove getopt_long (long option names), as there
	  is no support for that in klibc.

2003-nov-17:
	* scsi_id.c: Patch from Brian King <brking@us.ibm.com>: check
	  result of setting model, not vendor in per_dev_options.

2003-nov-03:
	* scsi_id.c, scsi_serial.c: Use new and correct path to libsysfs.h.

2003-nov-03:
	* scsi_id.h: Fix scsi_id.h so var args in macros works ok with
	  older gcc.