Home | History | Annotate | Download | only in isa
History log of /src/sys/arch/i386/isa/ahc_isa.c
RevisionDateAuthorComments
 1.42  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.41  11-Jul-2016  msaitoh branches: 1.41.18;
KNF. No functional change.
 1.40  18-Oct-2014  snj branches: 1.40.2;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.39  01-Jul-2011  dyoung branches: 1.39.12;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.38  28-Feb-2010  snj Fight the ever-increasing size of src checkouts by spelling "useful"
without an extra l.
 1.37  05-May-2009  cegger branches: 1.37.2;
device_t/softc split
 1.36  04-May-2009  cegger struct device * -> device_t
No functional changes intended.
 1.35  28-Apr-2008  martin branches: 1.35.14;
Remove clause 3 and 4 from TNF licenses
 1.34  04-Apr-2008  cegger branches: 1.34.2; 1.34.4;
use aprint_*_dev and device_xname
OK joerg
 1.33  07-Mar-2007  thorpej branches: 1.33.40;
TRUE -> true, FALSE -> false
 1.32  16-Nov-2006  christos branches: 1.32.4;
__unused removal on arguments; approved by core.
 1.31  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.30  28-Mar-2006  thorpej branches: 1.30.8; 1.30.10;
Use device_unit().
 1.29  19-Feb-2006  thorpej branches: 1.29.2; 1.29.4; 1.29.6;
Use aprint_*().
 1.28  26-Dec-2005  perry branches: 1.28.2; 1.28.4; 1.28.6;
u_intN_t -> uintN_t
 1.27  11-Dec-2005  christos merge ktrace-lwp.
 1.26  03-Feb-2005  perry branches: 1.26.6;
de-__P, partially ANSIfy
 1.25  14-Sep-2004  drochner branches: 1.25.4; 1.25.6;
adapt to ISA "unknown address" namespace separation
 1.24  04-Dec-2003  keihan NetBSD.ORG -> NetBSD.org

Now all "NetBSD.ORG" are gone from src/sys.
 1.23  03-May-2003  wiz branches: 1.23.2;
DMA, not dma nor Dma.
 1.22  20-Apr-2003  fvdl Initialize name and dma tag.
 1.21  20-Apr-2003  fvdl Call ahc_softc_init in attach function.
 1.20  19-Apr-2003  fvdl Adapt to new backend. Needs testing.
 1.19  02-Oct-2002  thorpej Tidy up CFATTACH_DECL() formatting.
 1.18  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.17  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.16  07-Jan-2002  thorpej branches: 1.16.2;
Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
 1.15  15-Nov-2001  lukem add RCSID
 1.14  24-Sep-2000  jdolecek branches: 1.14.2; 1.14.6;
use new generic bootverbose instead of local definition
 1.13  15-Mar-2000  fvdl Update ISA/VL frontend for new ahc driver (done by Noriyuki Soda).
 1.12  22-Mar-1998  drochner branches: 1.12.14;
switch to non-BROKEN_INDIRECT_CONFIG
 1.11  16-Mar-1998  leo Use bus-dma functions. Also make sure that dma will not use the bounce
buffers (Tested & requested by Noriyuki Soda).
 1.10  09-Mar-1998  mikel print proper invalid IRQ, from Heiko Rupp in PR 5128
 1.9  20-Oct-1997  thorpej Don't panic if we fail to remap i/o or mem space in the attach function.
Instead, print a diagnostic and return. (Some drivers do this already.)

Also, normalize the diagnostic message, and fix some places where the
printfs were getting ugly.
 1.8  04-Oct-1997  thorpej Fix some license confusion.
 1.7  04-Oct-1997  thorpej Copyright assigned to The NetBSD Foundation.
 1.6  27-Aug-1997  bouyer Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
 1.5  21-Oct-1996  thorpej branches: 1.5.8; 1.5.10;
New bus.h implementation/interface:
- No more distinction between i/o-mapped and memory-mapped
devices. It's all "bus space" now, and space tags
differentiate the space with finer grain than the
bus chipset tag.
- Add memory barrier methods.
- Implement space alloc/free methods.
- Implement region read/write methods (like memcpy to/from
bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
 1.4  13-Oct-1996  christos backout previous kprintf changes
 1.3  11-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.2  28-Aug-1996  thorpej Quiet the ahc driver down a bit by only enabling some of less useful
messages #if defined(DEBUG) in the NetBSD case.
 1.1  05-Aug-1996  soda branches: 1.1.2;
AHA-284x VL front-end to ahc driver by Jason Thorpe.
This is tested under both netbsd-1-2 branch and main trunk.
 1.1.2.2  05-Aug-1996  soda AHA-284x VL front-end to ahc driver by Jason Thorpe.
This is tested under both netbsd-1-2 branch and main trunk.
 1.1.2.1  05-Aug-1996  soda file ahc_isa.c was added on branch netbsd-1-2 on 1996-08-05 21:14:30 +0000
 1.5.10.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.5.10.1  27-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.5.8.1  01-Jul-1997  bouyer Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
 1.12.14.1  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.14.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.14.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.2.4  18-Oct-2002  nathanw Catch up to -current.
 1.14.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.14.2.2  11-Jan-2002  nathanw More catchup.
 1.14.2.1  08-Jan-2002  nathanw Catch up to -current.
 1.16.2.2  07-Jan-2002  thorpej Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
 1.16.2.1  07-Jan-2002  thorpej file ahc_isa.c was added on branch sommerfeld_i386mp_1 on 2002-01-07 21:47:02 +0000
 1.23.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.23.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.23.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.23.2.1  03-Aug-2004  skrll Sync with HEAD
 1.25.6.1  12-Feb-2005  yamt sync with head.
 1.25.4.1  29-Apr-2005  kent sync with -current
 1.26.6.2  03-Sep-2007  yamt sync with head.
 1.26.6.1  21-Jun-2006  yamt sync with head.
 1.28.6.1  22-Apr-2006  simonb Sync with head.
 1.28.4.1  09-Sep-2006  rpaulo sync with head
 1.28.2.1  01-Mar-2006  yamt sync with head.
 1.29.6.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.29.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.29.2.1  01-Apr-2006  yamt sync with head.
 1.30.10.2  10-Dec-2006  yamt sync with head.
 1.30.10.1  22-Oct-2006  yamt sync with head
 1.30.8.1  18-Nov-2006  ad Sync with head.
 1.32.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.33.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.34.4.3  11-Mar-2010  yamt sync with head
 1.34.4.2  16-May-2009  yamt sync with head
 1.34.4.1  16-May-2008  yamt sync with head.
 1.34.2.1  18-May-2008  yamt sync with head.
 1.35.14.4  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.35.14.3  24-Oct-2010  jym Sync with HEAD
 1.35.14.2  01-Nov-2009  jym Sync with HEAD.
 1.35.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.37.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.39.12.1  03-Dec-2017  jdolecek update from HEAD
 1.40.2.1  05-Oct-2016  skrll Sync with HEAD
 1.41.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed