cvs commit: src/sys/dev/usb umass.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Wed Feb 28 10:14:03 UTC 2007
In message <20070228.031000.1649769988.imp at bsdimp.com>, "M. Warner Losh" writes
:
>: > Create a new quirk READ_CAPACITY_OFFBY1
>:
>: A better idea would be to have scsi_da.c try to read the
>: last sector and chop it if it fails.
>
>Why is that a better idea?
Because it will work automatically and not rely on us preventively
adding the bogus devices to the kernel.
Trivially testable quicks shouldn't have to be compiled into
static lists.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src
mailing list