summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-02-03 00:36:30 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-02-03 00:36:30 +0000
commit3c3d1ea932b6b011edaf0488dce38c34acc5ab80 (patch)
tree0959f864110654e73e6252c761bf378bc67a7ce8 /sys/arch/sparc64
parentbf36156fdf41505740b53785a166cc30392f4bd7 (diff)
Redo umass_bbb_get_max_lun() and uses thereof to
1) Not bail out of umass_attach() just because the max lun cannot be found. Assume 0 and complete attachment. 2) Not expose sc->maxlun to possible misbehaving devices. Provide a buffer and copy it into sc->maxlun only if the attempt to get the max lun succeeds. 3) Shrink and simplify error handling and debug output. Prompted by the recurrance of the problem reported in PR#5478. Code taken for the most part from FreeBSD. ok miod@
Diffstat (limited to 'sys/arch/sparc64')
0 files changed, 0 insertions, 0 deletions