summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/if_sn.c
AgeCommit message (Collapse)Author
1997-06-18Make if_sn.c far more MI, eventually share with pica.denny
sonic_get is faster and simpler. sn_ioctl works like other current ether drivers now. Sync up with netbsd to ease maintenance; incorporate some "gratuitous" formatting changes so I won't have to do two totally seperate mods each time.
1997-04-25A couple of performance improvements from Denny Gentry <denny1@home.com>briggs
1997-04-18Fix from Denny Gentry--initialize receive seq. count and don't skip an entrybriggs
when programming the CAM.
1997-04-13Some updates based on information from Bob Nestor <rnestor@metronet.com>briggs
about his SONIC-T LC/PDS card.
1997-04-10Stop the SONIC before setting reset, not after...briggs
1997-04-10Changes from Denny Gentry <denny1@home.com>:briggs
Change in the way receive buffer areas are handled. Before we gave the chip 16 buffers, each 1536 bytes (big enough for one packet). Now we're handing the chip 8 buffers, each 4 Kbytes, and letting the chip fit as many packets as it can in each one. This should help keep it from running out of buffer space. Also make some of the performance-crucial routines inline. It made no measurable difference except to make me feel better
1997-03-29Update from Denton Gentry with minor bug fixes by me.briggs
Denny says: if_sn.c: - allocate sc->space using malloc (Scott wanted this). - make csr accesses use NIC_PUT/GET, remove sc->sc_csr. - add multicast and IFF_PROMISC support. multicast isn't well tested, but I made sure the unicast case still works. - finish the new arp interface, remove sc->sc_enaddr if_snreg.h: - remove struct sonic_reg if_snvar.h: - add NIC_PUT and NIC_GET macros a la if_ae - remove sc_txhead, it isn't used. if_sn_nubus.c: - clean up support for my SE/30 card. - Move add_nubus_intr from if_sn.c (to keep if_sn.c MI) if_sn_obio.c: - make Q610, C610, Q650, C650, Q800 use EXBUS. - PB500 had a "return" where "break" was intended. PB500 probably wasn't working. - move add_nubus_intr from if_sn.c. - add an "explanation" why Apple's ethernet addr is encoded in token ring format in the PROM.
1997-03-25From scottr@netbsd.org:briggs
Several minor changes: - Indent some comments appropriately per KNF. - Output all diagnostics using the device name rather than a static string. - Fix a (mostly marmless) bug in snintr(), where loss of heartbeat wasn't properly ignored and could mask the `receive descriptors exhausted' diagnostic.
1997-03-17Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I ↵briggs
was a bit hasty in removing.
1997-03-17*Blush* It's Denton, not Dennis, Gentry.briggs
1997-03-17Fix typo.briggs
1997-03-17A couple of cleanup items suggested by is@netbsd.org.briggs
1997-03-17Integrate a couple of changes suggested by Scott Reynolds and Takeshi ↵briggs
Yanagisawa.
1997-03-14Updates from Yanagisawa and Denny. This seems to work.briggs
1997-03-12Bring in some fresh SONIC code from Dennis Gentry and Yanagisawa Takeshi.briggs
Much hacked by me to merge and partially busify. Add code that I lost a while back for digging the proper mac address for internal ethernet. Still needs work, but checkpointed--works at least as well as the last version.
1996-10-28Include macinfo.h.briggs
1996-10-19__assert added, impl from netbsd, however put elsewhere. use it insteadNiklas Hallqvist
of private versions (one even using the userland header) in if_sn.c
1996-09-21Remove include of assert.h and fix a format error in debug camdump() code.briggs
1996-05-26Add OpenBSD Id string.briggs
1996-05-26Sync with NetBSD-current.briggs
1996-05-05add general ether_ioctl call in net/if_ethersubr.c,Michael Shalayeff
NS,IPX,X.25 special processing is now handled in there. reflect this amazing addition in all the ether ifaces. ppl, pls check the stuff.
1996-01-25include cpu.h.briggs
1996-01-14Preliminary cut at SONIC driver. Quadra only at this point.briggs
Still apparently not getting interrupts for some reason, so this is more or less just a checkpoint.