summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-10-21 07:36:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-10-21 07:36:16 +0000
commitdd98b50bc85201486c023d89677287827298d979 (patch)
tree083ba52fdf2c1f1d176f353ba7a5d4a7e7717d39 /lib/libc/net
parentdd60917a693a797ca646ccf5e4a2b6e1693b96e1 (diff)
rework the bus scanning code by splitting it out into separate functions
for walking the bus and targets, and probing the luns. this removes the need to use magic numbers to wildcard each of these, which in turn makes the code a lot easier to read. as a bonus we get some more space to work in (80 chars isnt that much somtimes). note that this code wont probe high luns if lun 0 doesnt exist. ok krw@
Diffstat (limited to 'lib/libc/net')
0 files changed, 0 insertions, 0 deletions