summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-11-11 05:26:14 +0000
committergibbs <gibbs@FreeBSD.org>1996-11-11 05:26:14 +0000
commitf2d4d5247b25a7e7cc85c2e16eccabdb0b451851 (patch)
treee8db48e4847d58761612ffc2b731c1fa48f02c89 /lib/libpthread
parent03be7529130c843c1c3e4bc1766f199f5b5ebfcb (diff)
downloadFreeBSD-src-f2d4d5247b25a7e7cc85c2e16eccabdb0b451851.zip
FreeBSD-src-f2d4d5247b25a7e7cc85c2e16eccabdb0b451851.tar.gz
Clean up the memory mapped/Programmed I/O stuff so that the driver completely
uses one or the other. This required some changes to the ahc_reset() function, and how early the probes had to allocate their softc. Turn the AHC_IN/OUT* macros into inline functions and lowercase their names to indicate this change. Geting AHC_OUTSB to work as a macro doing conditional memory mapped I/O would have been too gross. Be smart about the STPWEN control bit in SCFRCTL1. It should only be set if the low byte of the bus is to be terminated. We figure this out either by "caching" the value left over from the BIOS setup before we reset the card or by using the values stored in the seeprom if it is availible.
Diffstat (limited to 'lib/libpthread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud