Age | Commit message (Collapse) | Author |
|
proper interrupt routine. grfmv_intr_mystery changed to grfmv_intr_cb264.
|
|
for Egret and Cuda ADB.
|
|
|
|
|
|
some video cards. Provided by Paul Goyette <paul@pgoyette.bdt.com>.
This introduces another simulated software interrupt.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
Bug noticed by Denny Gentry.
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
disable interrupts from the bloody card in any case. Also snag video
address and rowbytes from the controller, too, just for fun.
|
|
|
|
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.
|
|
was a bit hasty
in removing.
|
|
|
|
|
|
|
|
|
|
Yanagisawa.
|
|
|
|
figuring out what was going wrong there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dave Huang found this one...
|
|
|
|
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.
|
|
|
|
*stop functions return int's under OpenBSD. This cleans up a
bunch of compile-time warnings for the mac68k.
|
|
actually compile.
|
|
|
|
|
|
|
|
|
|
|
|
copyright as necessarry, too.
Also, while we're here, do s/NetBSD/Openbsd/ or s/NetBSD/BSD/ ass appropriate.
|
|
i386 and in execution from scott reynolds.
|
|
Takashi Hamada <hamada@next.etron.kanazawa-it.ac.jp>. This code
interfaces directly to the hardware to support the ADB on many
macs. It is enabled by "options HWDIRECT" in the configuration
file. At some point, this should probably become the default method
as interfacing to the ADB through the ROMs has been painful and sometimes
problematic.
This code should have functioning ADB support for:
II series (II, SE/30, IIx, IIcx)
IIsi series (IIsi, IIci, IIvx, IIvi)
LC II, LC III
Performa 400, 405, 430, 460, 465, 467, 600
Classic II, Color Classic, Color Classic II
PB 5XX series
Duo series
PB 140,145,145b,160,(160c?),165,165c,170,180,180c
Quadra 700,900,950
There is an off-chance that it will work on:
PB 150, PB 190
Quadra/Centris 605,610,630,650,660AV,800,840AV
LC 475,550,575,630
Performa 475,476,575,577,578,630
Note that functioning ADB support does not mean that everything else
will work. I obviously do not own all of the above machines (does
anyone? ;-)... Any reports are welcome.
Many thanks to John Wittkoski and Takashi Hamada!
|
|
|
|
This might get moved out soon.
|