Home | History | Annotate | Download | only in isapnp
History log of /src/sys/dev/isapnp/if_le_isapnp.c
RevisionDateAuthorComments
 1.37  29-May-2022  rin Audit unload/unmap v.s. free against DMA buffer for sys/dev;
make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or
bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is
loaded or mapped, respectively.

This is mandatory for some archs. See, e.g.:

http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312
http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93

For some drivers, resource leaks for error paths are fixed at
the same time.

XXX XXX XXX
Compile test only (at least one arch per driver).
 1.36  08-Dec-2021  andvar fix various typos in comments and log messages.
 1.35  13-Nov-2010  uebayasi Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.34  28-Apr-2008  martin branches: 1.34.22;
Remove clause 3 and 4 from TNF licenses
 1.33  04-Apr-2008  tsutsui branches: 1.33.2; 1.33.4;
Split device_t/softc for le(4) and variants and misc cosmetic changes.
 1.32  19-Oct-2007  ad branches: 1.32.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.31  04-Mar-2007  christos branches: 1.31.2; 1.31.14; 1.31.16; 1.31.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.30  16-Nov-2006  christos branches: 1.30.4;
__unused removal on arguments; approved by core.
 1.29  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.28  29-Mar-2006  thorpej branches: 1.28.8; 1.28.10;
Use device_private().
 1.27  11-Dec-2005  christos branches: 1.27.4; 1.27.6; 1.27.8; 1.27.10; 1.27.12;
merge ktrace-lwp.
 1.26  27-Feb-2005  perry branches: 1.26.4;
nuke trailing whitespace
 1.25  04-Feb-2005  perry de-__P
 1.24  04-Oct-2002  tsutsui branches: 1.24.6; 1.24.14; 1.24.16;
- Merge if_levar.h into if_le_isapnp.c since it is included only by
if_le_isapnp.c.
- Rename struct le_softc -> le_isapnp_softc
- Fix some messages on attachment.
 1.23  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.22  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.21  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.20  13-Nov-2001  lukem add RCSID
 1.19  08-Jul-2001  thorpej branches: 1.19.2;
Remove unnecessary include files. From Onno van der Linden.
 1.18  14-Nov-2000  thorpej branches: 1.18.2;
NBPG -> PAGE_SIZE
 1.17  22-Mar-1999  mycroft branches: 1.17.8;
Reject variant numbers which are too large (so that a new version of isapnpdevs
with an old driver will not lose mysteriously).
 1.16  22-Mar-1999  mycroft Update callers of isapnp_devmatch().
 1.15  23-Jul-1998  christos Create a master list of pnp logical and compatibility device codes instead
of hard-coding it into each driver and use a centralized probe function.
 1.14  21-Jul-1998  drochner adapt to LANCE driver split
 1.13  05-Jul-1998  jonathan defopt NS, NSIP.
 1.12  05-Jul-1998  jonathan defopt INET, NETATALK.
 1.11  25-Jun-1998  thorpej Don't panic if a DRQ is already allocated. Instead, just return EAGAIN
to indicate that the resource is unavailable.
 1.10  09-Jun-1998  thorpej Adjust for the changes to the ISA DMA API.
 1.9  18-Apr-1998  drochner Fix spelling of my name.
Being here, remove BROKEN_INDIRECT_CONFIG.
 1.8  04-Feb-1998  thorpej Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
 1.7  17-Dec-1997  thorpej Don't initialize softc's space tags/handles until isapnp_config() has
been called. Pointed out by Lennart Augustsson.
 1.6  28-Oct-1997  christos DTRT with level and edge interrupts:
- add a type field to the isapnp_pin struct and set to IST_EDGE or
IST_LEVEL depending on the card configuration data.
- use the irq type field in all the drivers instead of hardcoding it.
 1.5  06-Jun-1997  thorpej branches: 1.5.8;
Pull thorpej-bus-dma branch into mainline.
 1.4  09-Apr-1997  jonathan branches: 1.4.2;
typo in cfattach.
 1.3  31-Mar-1997  thorpej If we don't match a known card ID, return "don't match".
 1.2  31-Mar-1997  jonathan Merge with Mattias Drochner's PCnet-PnP front-end.
 1.1  31-Mar-1997  jonathan PCnet-PnP front-end driver for isapnp PCnet cards.
 1.4.2.2  17-May-1997  thorpej Update for bus_dmamem_alloc() changes.
 1.4.2.1  13-May-1997  thorpej Convert to use bus dma.
 1.5.8.2  17-Dec-1997  mellon Pull rev 1.7 up from trunk (thorpej)
 1.5.8.1  29-Oct-1997  thorpej Pull up from trunk: DTRT with level and edge interrupts.
 1.17.8.1  22-Nov-2000  bouyer Sync with HEAD.
 1.18.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.18.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.18.2.1  24-Aug-2001  nathanw Catch up with -current.
 1.19.2.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.19.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.24.16.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.24.16.1  12-Feb-2005  yamt sync with head.
 1.24.14.1  29-Apr-2005  kent sync with -current
 1.24.6.2  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.24.6.1  04-Feb-2005  skrll Sync with HEAD.
 1.26.4.4  27-Oct-2007  yamt sync with head.
 1.26.4.3  03-Sep-2007  yamt sync with head.
 1.26.4.2  30-Dec-2006  yamt sync with head.
 1.26.4.1  21-Jun-2006  yamt sync with head.
 1.27.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.27.10.1  19-Apr-2006  elad sync with head.
 1.27.8.1  01-Apr-2006  yamt sync with head.
 1.27.6.1  22-Apr-2006  simonb Sync with head.
 1.27.4.1  09-Sep-2006  rpaulo sync with head
 1.28.10.2  10-Dec-2006  yamt sync with head.
 1.28.10.1  22-Oct-2006  yamt sync with head
 1.28.8.1  18-Nov-2006  ad Sync with head.
 1.30.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.31.20.1  25-Oct-2007  bouyer Sync with HEAD.
 1.31.16.1  06-Nov-2007  matt sync with HEAD
 1.31.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.31.2.1  23-Oct-2007  ad Sync with head.
 1.32.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.33.4.1  16-May-2008  yamt sync with head.
 1.33.2.1  18-May-2008  yamt sync with head.
 1.34.22.1  05-Mar-2011  rmind sync with head

RSS XML Feed