cvs commit: src/sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h
Nate Lawson
njl at FreeBSD.org
Mon Jul 12 13:49:26 PDT 2004
njl 2004-07-12 20:49:26 UTC
FreeBSD src repository
Modified files:
sys/dev/fdc fdc.c fdc_isa.c fdc_pccard.c fdcvar.h
Log:
Update in preparation for adding the ACPI attachment.
* Add an fdtype ivar. This will be the equivalent of fd->type.
* Move enabling the FIFO to the end of attach.
* Unify reset code into fdc_initial_reset().
* Add fdc_write_ivar().
* Update isa and pccard attachments accordingly.
* Set the flags unconditionally in probe since they may be overridden by
other probe routines. Both before and now, we're depending on probe
being called a final time on the winning driver so the flags we get are
the ones we intended.
* Use the bus accessor macros instead of defining our own.
* Remove duplicate assigns of fd->type.
Revision Changes Path
1.277 +71 -45 src/sys/dev/fdc/fdc.c
1.2 +8 -11 src/sys/dev/fdc/fdc_isa.c
1.3 +5 -12 src/sys/dev/fdc/fdc_pccard.c
1.2 +10 -0 src/sys/dev/fdc/fdcvar.h
More information about the cvs-all
mailing list