Home | History | Annotate | Download | only in isa
History log of /src/sys/dev/isa/if_ep_isa.c
RevisionDateAuthorComments
 1.47  27-Dec-2019  msaitoh s/like like/like/ in comment.
 1.46  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.45  14-Jul-2016  msaitoh branches: 1.45.18;
- Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
 1.44  14-Mar-2009  dsl branches: 1.44.22; 1.44.40;
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.43  27-Aug-2008  christos branches: 1.43.2; 1.43.8;
device_t changes, pmf, minor knf.
 1.42  28-Apr-2008  martin branches: 1.42.2; 1.42.6;
Remove clause 3 and 4 from TNF licenses
 1.41  19-Oct-2007  ad branches: 1.41.16; 1.41.18; 1.41.20;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.40  16-Nov-2006  christos branches: 1.40.8; 1.40.22; 1.40.24; 1.40.28;
__unused removal on arguments; approved by core.
 1.39  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.38  28-Mar-2006  thorpej branches: 1.38.8; 1.38.10;
Use device_unit().
 1.37  11-Dec-2005  christos branches: 1.37.4; 1.37.6; 1.37.8; 1.37.10; 1.37.12;
merge ktrace-lwp.
 1.36  12-May-2005  christos branches: 1.36.2;
PR/22058: Onno van der Linden: duplicate detection of isa ip.
Use some more undocumented bits to find out if the card is in pnp mode or not.
 1.35  04-Feb-2005  perry de-__P
 1.34  14-Sep-2004  drochner branches: 1.34.4; 1.34.6;
Separate the namespace for default (ie unspecified) locators used
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".
 1.33  02-Oct-2002  thorpej branches: 1.33.6;
Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion. (Grumble.)
 1.32  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.31  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.30  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.29  13-Nov-2001  lukem add RCSID
 1.28  02-Sep-2001  tsutsui Make 3C509[B] in ISA mode probed correctly on big endian machines.
 1.27  08-Jul-2001  thorpej branches: 1.27.2;
Remove unnecessary include files. From Onno van der Linden.
 1.26  28-Apr-1999  jonathan branches: 1.26.14;
Improved 509B-in-PnP mode detection (Christoph Badura, Jonathan Stone):
Verify EEPROM checksum, extract card rev-level, test capabilities
word, then test high-order config bits to verify card is in PnP mode,
and skip if so.
 1.25  20-Apr-1999  jonathan Don't attach an 3bc509B as ep? at isa if the EEPROM is set to to PnP mode.
See PR# port-i386/7428
 1.24  04-Nov-1998  fvdl branches: 1.24.6;
Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
 1.23  12-Aug-1998  thorpej Completely rewrite media selection. Add support for the MII/PHY on
the 3Com 3c905-TX and 3c905-T4. Fix handling of the MII on the
3c595-MII and 3c597-MII (can't talk to the PHYs on these cards; just
use "manual" for the external MII port).

Fixes kern/4782 (Chris Demetriou).
 1.22  05-Jul-1998  jonathan defopt NS, NSIP.
 1.21  05-Jul-1998  jonathan defopt INET, NETATALK.
 1.20  09-Jun-1998  thorpej Nuke __BROKEN_INDIRECT_CONFIG.
 1.19  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.18  15-Oct-1997  explorer Add and/or update rnd_*() hooks
 1.17  14-Oct-1997  thorpej Pull down from marc-pcmcia branch:

Minor tweaks to deal with PCMCIA differences, and support for power
management.
 1.16  05-Oct-1997  thorpej Copyright assigned to The NetBSD Foundation.
 1.15  23-Jun-1997  cjs branches: 1.15.4;
Make this work again; the code to avoid attaching a 3c509 in P&P mode
didn't map in the port properly, and it was only luck that it worked
on anything at all.
 1.14  28-Apr-1997  mjacob On alpha, sizeof (long) != sizeof (int) and sizeof (int) != sizeof (ptr_t)
 1.13  27-Apr-1997  veego - Add a new variable to epaddcard to call epconfig with the right chipset.
- Don't attach a 3c509 in PnP mode.
 1.12  18-Apr-1997  cgd compile when __BROKEN_INDIRECT_CONFIG isn't defined.
 1.11  30-Mar-1997  jonathan Add ifmedia hooks: include <ifmedia.h> and add sc_media to softc.
 1.10  15-Mar-1997  is New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
 1.9  18-Feb-1997  jonathan Move if_ep media-sense code from front ends to inside back end,
to prepare for if_media, and to support EISA 3c59x cards:

* change epconfig() to take a short that encodes the chipset
type (3c509, or Demon/Vortex/Boomerang).
* add distinct 3c509 and Demon/Vortex/Boomerang media-sense
functions to back end.
* Add EISA match/attach support for the 3c592 and 3c597
(Demon) cards as well as the 3c509-comatibl EISA 3c509/3c579.

* Assume that ISA and ISA PnP cards are 3c509-style, until
proof to the contrary (e.g. large packet support).

Tested on 3c595, 3c590, and 3c509b. Not tested on 3c515 or Demon.
 1.8  21-Oct-1996  thorpej branches: 1.8.4;
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.7  13-Oct-1996  christos backout kprintf changes
 1.6  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.5  12-May-1996  mycroft Use intr.h.
 1.4  10-May-1996  thorpej Update Herb's e-mail address; beer.org feels a lot more friendly.
 1.3  03-May-1996  christos - Fix random return value in the probe function.
- Add <sys/systm.h> to get prototypes
 1.2  30-Apr-1996  thorpej Convert the Etherlink III (ep) driver to use <machine/bus.h>.
For the ISA probe, implement a way to keep track of which ISA busses
have been through an ep_isa probe; the static variable that was used
before didn't scale.
 1.1  25-Apr-1996  thorpej Break up the ep driver into isa, eisa, and pci front-ends and a
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
 1.8.4.3  10-Mar-1997  is netinet/if_ether.h => netinet/if_inarp.h
 1.8.4.2  27-Feb-1997  is Removed #include <route.h> and #include <netisr.h>. They're not needed, and
the latter will go away soon.
 1.8.4.1  20-Feb-1997  is Adapt this to the new world order.
 1.15.4.3  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.15.4.2  27-Sep-1997  marc initialize enable/disable hooks to NULL so the bus independent code
dtrt.
 1.15.4.1  30-Jul-1997  marc added pcmcia infrastructure and a few devices
 1.24.6.1  28-Apr-1999  perry branches: 1.24.6.1.2;
pullup 1.24->1.26 (Jonathan Stone)
 1.24.6.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.26.14.6  18-Oct-2002  nathanw Catch up to -current.
 1.26.14.5  28-Feb-2002  nathanw Catch up to -current.
 1.26.14.4  11-Jan-2002  nathanw More catchup.
 1.26.14.3  14-Nov-2001  nathanw Catch up to -current.
 1.26.14.2  21-Sep-2001  nathanw Catch up to -current.
 1.26.14.1  24-Aug-2001  nathanw Catch up with -current.
 1.27.2.3  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.27.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.27.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.33.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.33.6.3  04-Feb-2005  skrll Sync with HEAD.
 1.33.6.2  21-Sep-2004  skrll Fix the sync with head I botched.
 1.33.6.1  18-Sep-2004  skrll Sync with HEAD.
 1.34.6.1  12-Feb-2005  yamt sync with head.
 1.34.4.1  29-Apr-2005  kent sync with -current
 1.36.2.3  27-Oct-2007  yamt sync with head.
 1.36.2.2  30-Dec-2006  yamt sync with head.
 1.36.2.1  21-Jun-2006  yamt sync with head.
 1.37.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.37.10.1  19-Apr-2006  elad sync with head.
 1.37.8.1  01-Apr-2006  yamt sync with head.
 1.37.6.1  22-Apr-2006  simonb Sync with head.
 1.37.4.1  09-Sep-2006  rpaulo sync with head
 1.38.10.2  10-Dec-2006  yamt sync with head.
 1.38.10.1  22-Oct-2006  yamt sync with head
 1.38.8.1  18-Nov-2006  ad Sync with head.
 1.40.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.40.24.1  06-Nov-2007  matt sync with HEAD
 1.40.22.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.40.8.1  23-Oct-2007  ad Sync with head.
 1.41.20.2  04-May-2009  yamt sync with head.
 1.41.20.1  16-May-2008  yamt sync with head.
 1.41.18.1  18-May-2008  yamt sync with head.
 1.41.16.2  28-Sep-2008  mjf Sync with HEAD.
 1.41.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.42.6.1  19-Oct-2008  haad Sync with HEAD.
 1.42.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.43.8.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.43.2.1  28-Apr-2009  skrll Sync with HEAD.
 1.44.40.1  05-Oct-2016  skrll Sync with HEAD
 1.44.22.1  03-Dec-2017  jdolecek update from HEAD
 1.45.18.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.45.18.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed