Home | History | Annotate | Download | only in vme
History log of /src/sys/dev/vme/if_ie_vme.c
RevisionDateAuthorComments
 1.36  04-Oct-2025  thorpej Add a shared function to query the common properties used for configuring
an Ethernet address.
 1.35  12-Jul-2022  thorpej Remove unneeded bus_space_barrier() calls.
 1.34  24-Oct-2021  andvar fix various typos in comments, mainly copypasta.
 1.33  14-Aug-2020  martin Adapt to new proplib api
 1.32  25-Apr-2019  msaitoh No functional change:
- Use __arraycount().
- u_int_{8,16,32}_t -> uint_{8,16,32}_t
- KNF.
- Tabify.
- Remove extra space.
 1.31  18-Aug-2014  riastradh branches: 1.31.20;
Sizeof struct ievme, not sizeof size_t.

Noted by maxv@, compile-tested for sparc.
 1.30  03-Jun-2011  tsutsui branches: 1.30.8; 1.30.12; 1.30.14; 1.30.22; 1.30.28;
Split device_t/softc of i82586. No crash on TME emulating sun2.
 1.29  01-Feb-2011  chuck branches: 1.29.2;
udpate license clauses on my code to match the new-style BSD licenses.
remove no-longer-valid wustl email address for me.
based on diff that rmind@ sent me.

no functional change with this commit.
 1.28  22-Jan-2010  martin branches: 1.28.4; 1.28.6; 1.28.8;
Remove sparc specific code, use device properties instead.
 1.27  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.26  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.25  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.24  05-Apr-2008  cegger branches: 1.24.4; 1.24.12; 1.24.18;
use aprint_*_dev and device_xname
 1.23  19-Oct-2007  ad branches: 1.23.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.22  11-Dec-2005  christos branches: 1.22.30; 1.22.44; 1.22.46; 1.22.50;
merge ktrace-lwp.
 1.21  03-Jun-2005  tsutsui branches: 1.21.2;
Add const.
 1.20  27-Feb-2005  perry nuke trailing whitespace
 1.19  04-Feb-2005  perry de-__P
 1.18  15-Mar-2004  pk branches: 1.18.8; 1.18.10;
Replace myetheraddr() by prom_getether().
 1.17  02-Oct-2002  thorpej branches: 1.17.6;
Add trailing ; to CFATTACH_DECL.
 1.16  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.15  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14  13-Nov-2001  lukem add RCSIDs
 1.13  13-Mar-2001  tsutsui branches: 1.13.2;
Update for recent changes to the MI i82586 driver.
(added 'why' argument to the channel attention hook function)
 1.12  22-Jan-2001  bjh21 branches: 1.12.2;
Patch from PR kern/8001, submitted by Rafal Boni.

This adds support for EtherExpress/16 cards with 16k of RAM, and in the
process adds general support for PIO mode on these cards. This entails
changing the way the i82586 driver handles bus barriers, since it doesn't
allow for strange cases like this.

This has been tested on the i386 port with the 'ix' driver in both
16KB (which was the source of the problem) and 32KB modes, as well
as with the 'ef' driver. I've tested it (briefly) with 'ei' on arm26
as well. In theory, drivers other than 'ix' should follow precisely the
same code paths as before.
 1.11  10-Jul-2000  mrg these don't need <uvm/uvm_extern.h> at all, actually.
 1.10  29-Jun-2000  fvdl Fix some missed vm/vm.h -> uvm/uvm_extern.h conversions.
 1.9  10-Apr-2000  chs sparc -> __sparc__
sun3 -> __sun3__
 1.8  13-Mar-2000  soren Fix doubled 'the's in comments.
 1.7  30-Jun-1999  drochner branches: 1.7.2;
update for new VME framework
 1.6  23-Mar-1999  pk branches: 1.6.4;
To clear a chunk of bus memory use bus_space_set_regionN().
 1.5  28-Feb-1998  pk Remove `_NEW_I82586'.
 1.4  06-Feb-1998  pk vme_bus_probe() takes an `offset' argument.
 1.3  04-Feb-1998  pk Account for changed vme_bus_probe() args.
Fix vme_ie_write24() to use bus_space_write_2() in stead of poking
directly into the bus handle.
 1.2  25-Jan-1998  pk Adapt to recent i82586 driver changes.
 1.1  01-Nov-1997  pk Start an MI VMEbus framework.

Includes two sample drivers: IE ethernet driver (VME front-end to
dev/ic/i82586.c) and the XD disk driver, both converted from the
sparc versions.
 1.6.4.1  01-Jul-1999  thorpej Sync w/ -current.
 1.7.2.3  27-Mar-2001  bouyer Sync with HEAD.
 1.7.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.7.2.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.12.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.12.2.2  14-Nov-2001  nathanw Catch up to -current.
 1.12.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.13.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.13.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.17.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.17.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.17.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.17.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.6.1  03-Aug-2004  skrll Sync with HEAD
 1.18.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.18.10.1  12-Feb-2005  yamt sync with head.
 1.18.8.1  29-Apr-2005  kent sync with -current
 1.21.2.1  27-Oct-2007  yamt sync with head.
 1.22.50.1  25-Oct-2007  bouyer Sync with HEAD.
 1.22.46.1  06-Nov-2007  matt sync with HEAD
 1.22.44.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.22.30.1  23-Oct-2007  ad Sync with head.
 1.23.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.24.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.24.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.24.4.3  11-Mar-2010  yamt sync with head
 1.24.4.2  16-May-2009  yamt sync with head
 1.24.4.1  04-May-2009  yamt sync with head.
 1.28.8.1  08-Feb-2011  bouyer Sync with HEAD
 1.28.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.28.4.2  12-Jun-2011  rmind sync with head
 1.28.4.1  05-Mar-2011  rmind sync with head
 1.29.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.30.28.1  22-Aug-2014  martin Pull up following revision(s) (requested by riastradh in ticket #44):
sys/altq/altq_jobs.c 1.7
Fix error branches to avoid leaks, noted by maxv@.
sys/dev/ic/oosiop.c 1.14
Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul
of strict aliasing rules.
sys/dev/qbus/if_qe.c 1.73
Avoid leak in error branch, noted by maxv@, compile-tested for vax.
sys/dev/rasops/rasops.c 1.72
Don't leak f on failure. Noted by maxv@.
sys/dev/vme/if_ie_vme.c 1.31
Sizeof struct ievme, not sizeof size_t.
Noted by maxv@, compile-tested for sparc.
sys/net/if_gre.c 1.160
Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.
 1.30.22.1  03-Nov-2014  msaitoh Pull up following revision(s) (requested by riastradh in ticket #1117):
sys/dev/rasops/rasops.c: revision 1.72
sys/dev/vme/if_ie_vme.c: revision 1.31
sys/dev/qbus/if_qe.c: revision 1.73
sys/altq/altq_jobs.c: revision 1.7
sys/net/if_gre.c: revision 1.160
sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul of
strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c. Noted by maxv@.
Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.
 1.30.14.1  03-Nov-2014  msaitoh Pull up following revision(s) (requested by riastradh in ticket #1117):
sys/dev/rasops/rasops.c: revision 1.72
sys/dev/vme/if_ie_vme.c: revision 1.31
sys/dev/qbus/if_qe.c: revision 1.73
sys/altq/altq_jobs.c: revision 1.7
sys/net/if_gre.c: revision 1.160
sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul of
strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c. Noted by maxv@.
Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.
 1.30.12.1  03-Dec-2017  jdolecek update from HEAD
 1.30.8.1  03-Nov-2014  msaitoh Pull up following revision(s) (requested by riastradh in ticket #1117):
sys/dev/rasops/rasops.c: revision 1.72
sys/dev/vme/if_ie_vme.c: revision 1.31
sys/dev/qbus/if_qe.c: revision 1.73
sys/altq/altq_jobs.c: revision 1.7
sys/net/if_gre.c: revision 1.160
sys/dev/ic/oosiop.c: revision 1.14
- Fix error branches in altq_jobs.c to avoid leaks, noted by maxv@.
- Fix leaks in oosiop_alloc_cb error branches, noted by maxv@.
While here, avoid a sketchy pointer cast that probably falls afoul of
strict aliasing rules. Compile-tested only, with hppa.
- Don't leak f on failurein rasops.c. Noted by maxv@.
Compile-tested only, with zaurus.
- Avoid leak in error branch in if_qe.c, noted by maxv@, compile-tested for
vax.
- Sizeof struct ievme, not sizeof size_t in if_ie_vme.c.
Noted by maxv@, compile-tested for sparc.
- Don't leak in gre_clone_create error branch.
Noted by maxv@, compile-tested for amd64.
 1.31.20.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed