cvs commit: src/sys/dev/ata ata-card.c
Warner Losh
imp at FreeBSD.org
Thu Jun 26 20:25:45 PDT 2003
imp 2003/06/26 20:25:43 PDT
FreeBSD src repository
Modified files:
sys/dev/ata ata-card.c
Log:
Remove check to see if the get resource for the second resource
succeeds. There is a difference between how OLDCARD and NEWCARD deal
with their resources, and this code exposes that difference. I'm not
sure which behavior is correct, and will need to look into that in
more detail. However, it appears that we go ahead and allocate the
right thing in both cases that I have access to (CF cards, CDROM, and
external ata enclosures), so go ahead and ignore the failure to get
the resource for the other rid. There's already another check to make
sure that the actual allocation works correctly, and that should be
sufficient to catch cases that don't work.
Submitted by: wpaul and iedowse
Revision Changes Path
1.15 +0 -4 src/sys/dev/ata/ata-card.c
More information about the cvs-src
mailing list