cvs commit: src/sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h
Warner Losh
imp at FreeBSD.org
Sun Jul 3 01:06:14 GMT 2005
imp 2005-01-19 07:46:38 UTC
FreeBSD src repository
Modified files:
sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h
Log:
MFp4: overhaul of resource allocation
Rather than have a twisty maze of special case allocations, move
instead to a data driven allocation. This should be the most robust
way to cope with the resource problems that the multiplicity of ways
of encoding 5 registers that have the misfortune of not being a power
of 2 nor contiguous.
Also, make it less impossible that pccard will work. I've not been able
to get my libretto floppy working, but it now fails later than before.
phk and I had similar ideas on this during the 5.3 release cycle, but
it wasn't until recently that I could test more than one allocation
scenario.
MFC After: 1 month (5.4 if possible, 5.5 if not)
Revision Changes Path
1.305 +54 -35 src/sys/dev/fdc/fdc.c
1.18 +53 -96 src/sys/dev/fdc/fdc_isa.c
1.12 +16 -14 src/sys/dev/fdc/fdc_pccard.c
1.9 +11 -13 src/sys/dev/fdc/fdcvar.h
More information about the cvs-src
mailing list