summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
AgeCommit message (Collapse)Author
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-04-10Ack. Make this compile again.briggs
1997-04-09Fix from Bill Studenmund--generate ^-\ on ^-\ instead of on ^-/briggs
1997-04-09Comment video cards and add define for SuperMac Thunder/24.briggs
1997-04-08Clarify comment a bit and skip userret when flushing CPU caches in SunOS emul.briggs
1997-04-08Changes from Michael R. Zucca <mrz5149@cs.rit.edu> for 16-bit and 32-bitbriggs
console support.
1997-04-08Some patches from Bob Nestor <rnestor@metronet.com> to edge toward supportbriggs
for an Apple SONIC-based ethernet card. Includes a patch to the nubus probing that we worked out together. Some cards, like his, were being missed and/or probed like video cards\!
1997-04-08From scottr@netbsd.org:gene
>Fix SunOS user trace trap handling, from Gordon.
1997-04-08Rewrite to make dma more stable from scottr@netbsdgene
1997-04-07Bleh. bus_probe has opposite return of my fn.briggs
1997-04-07Perhaps improve reliability with some small performance sacrifice.briggs
1997-04-07Denny suggests that we make all Quadra cases the same. The Q700, at leastbriggs
seems to be able to work with the Q650 configuration, but not vice-versa.
1997-04-07Ahem... bus_probe() already exists and does what bus_space_bad_addr() does.briggs
Nuke the latter.
1997-04-07Fix m68k/153 as suggested by David Leonard <d@occult.fnarg.net.au>.briggs
Fix a couple more, similar, bugs while I'm here to save David the trouble of reporting them, too.
1997-04-06Now need sys/time.h here.briggs
1997-04-06Eradicate #include <sys/*> from machine/*.h. Prompting from Gene.briggs
1997-04-06Attempt to kludge around the fact that we can not yet get the correct MACbriggs
address for the SONIC on PB5xx series. This uses the bus_space_bad_addr function that I added earlier.
1997-04-05Implement a bus_space_bad_addr() function to aid in some device probing withbriggs
the bus_space universe.
1997-04-05Move the PB140/145 info to it's own case. A couple of the entry pointsbriggs
are different from other cases.
1997-04-05MRG-based ADB support for the PowerBook series. Contributed bybriggs
hamada@next.etron.kanazawa-it.ac.jp (Takashi Hamada)
1997-04-04Do not set DCR_SYNC for the C/Q[68]xx systems.briggs
Thanks to Steve Brown <sbrown@best.com> for working with me to find this.
1997-04-03PR#141 from David Leonard <d@occult.fnarg.net.au> with some small mods bybriggs
me. - Provide option (enabled in GENERIC and GENERICSBC) to disable ADB configuration when serial console is enabled. Old behavior allows booting even if ADB probe hangs (Apple had several ways to access ADB). - Configure ite0 differently--don't assume that it's only extant if it is the console.
1997-04-01Add DrHW for RasterOps CB264--From Scott Reynolds--and link it in to thebriggs
proper interrupt routine. grfmv_intr_mystery changed to grfmv_intr_cb264.
1997-03-31PR#140, Fix from David Leonard <d@occult.fnarg.net.au>. Prevents endless loopbriggs
for Egret and Cuda ADB.
1997-03-30Minor cleanup.briggs
1997-03-30jDTInstall is 0xD9C, not 0x9DC...briggs
1997-03-30An implementation of pieces of the Deferred Task Manager--required bybriggs
some video cards. Provided by Paul Goyette <paul@pgoyette.bdt.com>. This introduces another simulated software interrupt.
1997-03-29Do not register an interrupt handler unless we know that we can clearbriggs
interrupts properly. Take a stab at clearing interrupts correctly for stupid Samsung video card that masquerades as a Toby Frame Buffer card. Break out interrupt routines by card type, including the cards that just need a byte cleared to clear the interrupt.
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-29DrSW for a Dayna ethernet card. Fake DrHW for dumb nubus card.briggs
1997-03-29__NetBSD__ -> __NetBSD__ || __OpenBSD__ (conditionals for compiling in MacOS).briggs
1997-03-29A bit more DAFB initialization.briggs
1997-03-29Fix bug that would have prevented PB5xx series from detecting the SONIC.briggs
Bug noticed by Denny Gentry.
1997-03-28Use more from m68k/m68k.briggs
1997-03-27Be more careful about enabling nubus interrupts.briggs
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-25From scottr@netbsd.org:briggs
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.
1997-03-18Bad idea to reset mac68k_vidphys/videorowbytes here.briggs
1997-03-18Handle DAFB better. Only configure if we think a monitor is attached andbriggs
disable interrupts from the bloody card in any case. Also snag video address and rowbytes from the controller, too, just for fun.
1997-03-18Add bus handle and bus tag to grfbus_softc.briggs
1997-03-18From Scott Reynolds <scottr@netbsd.org> (, but compilable ;-)briggs
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.
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-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-15AV macs don't have SONIC, they have MACE, and 040 PBs do have SONIC.briggs
1997-03-14Possible fix for SE/30 internal video problems. Thanks to Denny Gentry forbriggs
figuring out what was going wrong there.
1997-03-14Use macro to truncate page.briggs