Home | History | Annotate | Download | only in nubus
History log of /src/sys/arch/mac68k/nubus/if_ae_nubus.c
RevisionDateAuthorComments
 1.44  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.43  05-Feb-2020  skrll Trailing whitespace
 1.42  05-Feb-2020  skrll Adopt <net/if_stats.h>
 1.41  16-Jan-2009  tsutsui branches: 1.41.66; 1.41.72;
Split device_t/softc, missed on MI dp8390nic changes 10 months ago.
Also use aprint_*(), and remove unnecessary casts against void * variables.

Tested by John Klos on port-mac68k, and should be pulled up to netbsd-5.
 1.40  04-Apr-2008  hauke branches: 1.40.4; 1.40.12; 1.40.14;
Go all the way, and use the new accessor function for the device_xname field.
 1.39  02-Apr-2008  hauke Fall-out from splitting device_t and softc for the dp8390 softc.
 1.38  29-Mar-2006  thorpej branches: 1.38.62;
Use device_cfdata().
 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  03-Jun-2005  rjs branches: 1.36.2;
Add const.
 1.35  15-Jan-2005  chs de-__P, remove register, ansify, b* -> mem*.
 1.34  15-Jul-2003  lukem __KERNEL_RCSID()
 1.33  02-Oct-2002  thorpej branches: 1.33.6;
Use CFATTACH_DECL().
 1.32  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.31  12-Feb-2001  thorpej branches: 1.31.4; 1.31.8;
Adjust the way that media is initialized on DP8390-compatible
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
 1.30  30-Jul-2000  briggs Remove unsupported Focus hardware--this is now probed in if_sm_nubus.
 1.29  29-Sep-1999  scottr branches: 1.29.2; 1.29.12;
Add support for the Macintosh LC Ethernet Adapter, from Ken'ichi Ishizaka.
This was erroneously recognized as an 8390-based card, where in fact it is
using the 83932 (SONIC) controller.
 1.28  27-Sep-1998  scottr branches: 1.28.6; 1.28.8;
Add support for the TFL LAN Inc. E410/E420 PDS cards. Based on code
from Ken Nakata in PR 6199, which was in turn derived from code from
Haru Maruyama <h-maru @ da2.so-net.ne.jp>.
 1.27  12-Aug-1998  scottr Support Cabletron Ethernet card, from John Marohn in PR 5762.
 1.26  02-May-1998  scottr Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.
 1.25  25-Apr-1998  scottr Garbage collect the second (slot number) parameter to NuBus interrupt
handlers. (Only slot_ignore() and slot_noint() need this, and we already
have a place to put this information.) Adjust add_nubus_intr() so that if
the client_data arg is specified as NULL, pass the slot number as
client_data to the interrupt handler.
 1.24  02-Nov-1997  thorpej Adjust for ifmedia-related changes to dp8390 driver.
 1.23  17-Oct-1997  briggs branches: 1.23.2;
Make this compile again.
 1.22  15-Oct-1997  thorpej Pulldown from marc-pcmcia branch: adapt to changes in the MI dp8390 driver.
 1.21  10-Oct-1997  scottr Remove advertising clause.
 1.20  26-Sep-1997  briggs Add another Dayna card to the Apple-compa. list.
Define a constant for the SuperMac Spectrum/24 series III display card.
Thanks go to Luca Falzoni <falzoni@jetai.unipv.it> for trying out the
code for the Dayna ethernet support.
 1.19  11-Aug-1997  scottr Make #include directives consistent. All MD headers are of the form:

#include <mac68k/{dev,mac68k}/foo.h>
 1.18  11-May-1997  scottr branches: 1.18.4;
Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
our MD bus_space_probe() extension). This has several side effects:

- NuBus drivers must map and unmap slot space, rather than relying
on this happening before they are attached.
- Functions exported to NuBus drivers from nubus.c now need to be
supplied with a bus space tag/handle pair.
- Old bus map/peek functions can be garbage collected, as can pmap
support for the same.

Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver). All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
 1.17  01-May-1997  briggs Treat drhw 118 and 119 the same for Apple ethernet cards.
 1.16  30-Apr-1997  scottr Fix typo in last change.
 1.15  30-Apr-1997  scottr Adjust to use16bit -> dcr_reg change in MI driver.
 1.14  29-Apr-1997  scottr Use the new MI 8390 driver, and garbage collect.
 1.13  22-Apr-1997  scottr Remove obsolete drsw diagnostic
 1.12  10-Apr-1997  briggs Changes from Bob Nestor to come closer to supporting his Apple SONIC-based
nubus card.
 1.11  19-Mar-1997  scottr Several more changes to move us toward MI-ness:

- Use more consistent and portable types in the softc.
- Map registers using an array of bus_size_t offsets, and set up the
mapping in the attach code (thanks to Jason Thorpe for suggesting
this!).
- Disable the ae-specific watchdog, which is no longer necessary in
the general case.

Still remaining: split out functions used to copy data to/from the
card, and retain a way to have a local driver name with the MI code.
 1.10  18-Mar-1997  briggs Help this compile and get the nubus address into myaddr instead of
sc->sc_arpcom.ac_enaddr.
 1.9  17-Mar-1997  scottr Some cards we identify as InterLAN cards do not seem to have the MAC
address in the configuration ROM. For these, fall back to the old method
if we can't find the expected sResource record.
 1.8  15-Mar-1997  scottr Defer enabling NuBus slot interrupts until all slots have been probed
and drivers attached. This removes the need for the MAC68K_BROKEN_VIDEO
option. From Allen Briggs.
 1.7  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.6  10-Mar-1997  scottr branches: 1.6.2;
Add missing call to ae_nb_get_enaddr(), from <kei_sun@ba2.so-net.or.jp>.
Fixes PR 3312.
 1.5  28-Feb-1997  scottr Define aesetup() to return an int, so that the attach function can
determine whether there was an error (if so, we unmap the slot space
for this device). Use this functionality to tell the attach function
that we couldn't clear the card's buffer.

Also in aesetup(), eliminate the bogus repetition of the error message
we print when the buffer clear actually fails. Noticed by Hauke Fath.
 1.4  28-Feb-1997  scottr Move the NuBus-specific watchdog function from if_ae.c to if_ae_nubus.c,
and allow the attach function to override the default watchdog. Also,
do some minor cosmetic surgery (rename bus space tags/handles and some
KNFing I missed the first time around).
 1.3  25-Feb-1997  scottr Move bus-independent setup code back into if_ae.c; enable the use of
configuration flags. For NuBus cards, attempt to find the MAC address
in the declaration ROM resources.
 1.2  24-Feb-1997  scottr Add support for the Kinetics EtherPort SE/30, from Ken Nakata.
 1.1  24-Feb-1997  scottr Split out the NuBus attachment code, and convert to bus.h
 1.6.2.1  12-Mar-1997  is Merge in changes from The Trunk, partially just reimplementing newarp.
 1.18.4.5  14-Oct-1997  thorpej Mark this interface as enabled right from the get-go.
 1.18.4.4  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.18.4.3  14-Oct-1997  thorpej Adapt to changes in the generic DP8390 driver.
 1.18.4.2  29-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.18.4.1  23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.23.2.1  05-Nov-1997  thorpej Pull up from trunk: update for ifmedia changes to dp8390.c
 1.28.8.1  27-Jun-2000  he Pull up revision 1.29 (requested by scottr):
Add support for the Macintosh LC Ethernet Adapter. This was
previously erroneously recognized as an 8390-based card, where
in fact it is using the 83932 (SONIC) controller.
 1.28.6.1  01-Nov-1999  scottr Sync with main branch.
 1.29.12.1  06-Aug-2000  briggs Pullup approved by thorpej --
Add nubus-based SMC91cxx ethernet support for the mac68k.
 1.29.2.2  12-Mar-2001  bouyer Sync with HEAD.
 1.29.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.31.8.1  18-Oct-2002  nathanw Catch up to -current.
 1.31.4.1  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.33.6.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.33.6.4  17-Jan-2005  skrll Sync with HEAD.
 1.33.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.33.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.33.6.1  03-Aug-2004  skrll 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 - hopefully this will work
 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.62.3  17-Jan-2009  mjf Sync with HEAD.
 1.38.62.2  02-Jun-2008  mjf Sync with HEAD.
 1.38.62.1  03-Apr-2008  mjf Sync with HEAD.
 1.40.14.1  17-Jan-2009  snj Pull up following revision(s) (requested by tsutsui in ticket #280):
sys/arch/mac68k/nubus/if_ae_nubus.c: revision 1.41
Split device_t/softc, missed on MI dp8390nic changes 10 months ago.
Also use aprint_*(), and remove unnecessary casts against void *
variables.
Tested by John Klos on port-mac68k, and should be pulled up to netbsd-5.
 1.40.12.1  19-Jan-2009  skrll Sync with HEAD.
 1.40.4.1  04-May-2009  yamt sync with head.
 1.41.72.1  29-Feb-2020  ad Sync with head.
 1.41.66.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed