Home | History | Annotate | Download | only in pnpbios
History log of /src/sys/arch/i386/pnpbios/fdc_pnpbios.c
RevisionDateAuthorComments
 1.19  11-Jul-2016  msaitoh KNF. No functional change.
 1.18  13-Apr-2015  riastradh Omit needless <sys/rnd.h>.
 1.17  02-Feb-2012  tls branches: 1.17.6; 1.17.24;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.16  01-Jul-2011  dyoung branches: 1.16.2; 1.16.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.15  25-Nov-2009  cube Properly fix fdc@pnpbios as shown by Brian Buhrow in PR#42374.

I think it tells a lot about the relevancy of that attachment when it took
20 months for someone to experience the issue and even then, acpi had to be
disabled.
 1.14  28-Apr-2008  martin branches: 1.14.10; 1.14.14; 1.14.18;
Remove clause 3 and 4 from TNF licenses
 1.13  17-Mar-2008  cube branches: 1.13.2; 1.13.4;
Fix fallout from softc split.
 1.12  16-Mar-2008  cube Split device_t and softc for the ... wait for it ... [air quotes] MI
variant of fdc(4)/fd(4). Other cosmetic changes as appropriate.
 1.11  16-Nov-2006  christos branches: 1.11.28; 1.11.48; 1.11.52;
__unused removal on arguments; approved by core.
 1.10  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.9  11-Dec-2005  christos branches: 1.9.20; 1.9.22;
merge ktrace-lwp.
 1.8  25-Sep-2003  mycroft branches: 1.8.16;
Modify the fdcattach() interface again, splitting it into two parts, so that
DRQ allocation is done earlier.
 1.7  25-Sep-2003  mycroft Update for new attach method.
 1.6  02-Oct-2002  thorpej branches: 1.6.6;
Tidy up CFATTACH_DECL() formatting.
 1.5  01-Oct-2002  fvdl Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
 1.4  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3  15-Nov-2001  lukem branches: 1.3.2;
add RCSID
 1.2  17-Dec-2000  jmc branches: 1.2.4; 1.2.6;
Change the attach routine so it handles all the known cases that pnpbios
returns for floppy controllers i/o ports. i.e.

1. 1 range of length 4 (which conveniently "forgets" the ctl i/o port),
2. 2 ranges: 1 of length 4 and the ctl i/o port.
3. 1 range of length 6 which goes to the end of the ctl i/o.

Make this line up with the MI fdc code by mapping in a range of 4 on the
base i/o and then either direct or submapping the ctl i/o. In the one case
where the BIOS lies and says it's not there just map it in anyways. (but note
the fact to the end user).
 1.1  23-Apr-2000  thorpej branches: 1.1.8;
Add PNPBIOS front-end for the PC Floppy Controller driver.
 1.1.8.3  05-Jan-2001  bouyer Sync with HEAD
 1.1.8.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.8.1  23-Apr-2000  bouyer file fdc_pnpbios.c was added on branch thorpej_scsipi on 2000-11-20 20:09:36 +0000
 1.2.6.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.2  18-Oct-2002  nathanw Catch up to -current.
 1.2.4.1  08-Jan-2002  nathanw Catch up to -current.
 1.3.2.2  15-Nov-2001  lukem add RCSID
 1.3.2.1  15-Nov-2001  lukem file fdc_pnpbios.c was added on branch sommerfeld_i386mp_1 on 2001-11-15 07:03:36 +0000
 1.6.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1  03-Aug-2004  skrll Sync with HEAD
 1.8.16.1  17-Mar-2008  yamt sync with head.
 1.9.22.2  10-Dec-2006  yamt sync with head.
 1.9.22.1  22-Oct-2006  yamt sync with head
 1.9.20.1  18-Nov-2006  ad Sync with head.
 1.11.52.2  02-Jun-2008  mjf Sync with HEAD.
 1.11.52.1  03-Apr-2008  mjf Sync with HEAD.
 1.11.48.1  24-Mar-2008  keiichi sync with head.
 1.11.28.1  23-Mar-2008  matt sync with HEAD
 1.13.4.2  11-Mar-2010  yamt sync with head
 1.13.4.1  16-May-2008  yamt sync with head.
 1.13.2.1  18-May-2008  yamt sync with head.
 1.14.18.1  21-Apr-2010  matt sync to netbsd-5
 1.14.14.2  27-Aug-2011  jym Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.
 1.14.14.1  24-Oct-2010  jym Sync with HEAD
 1.14.10.1  01-Dec-2009  snj Pull up following revision(s) (requested by cube in ticket #1161):
sys/arch/i386/pnpbios/fdc_pnpbios.c: revision 1.15
Properly fix fdc@pnpbios as shown by Brian Buhrow in PR#42374.
I think it tells a lot about the relevancy of that attachment when it took
20 months for someone to experience the issue and even then, acpi had to be
disabled.
 1.16.6.1  18-Feb-2012  mrg merge to -current.
 1.16.2.1  17-Apr-2012  yamt sync with head
 1.17.24.2  05-Oct-2016  skrll Sync with HEAD
 1.17.24.1  06-Jun-2015  skrll Sync with HEAD
 1.17.6.2  03-Dec-2017  jdolecek update from HEAD
 1.17.6.1  12-Sep-2012  tls Initial snapshot of work to eliminate 64K MAXPHYS. Basically works for
physio (I/O to raw devices); needs more doing to get it going with the
filesystems, but it shouldn't damage data.

All work's been done on amd64 so far. Not hard to add support to other
ports. If others want to pitch in, one very helpful thing would be to
sort out when and how IDE disks can do 128K or larger transfers, and
adjust the various PCI IDE (or at least ahcisata) drivers and wd.c
accordingly -- it would make testing much easier. Another very helpful
thing would be to implement a smart minphys() for RAIDframe along the
lines detailed in the MAXPHYS-NOTES file.

RSS XML Feed