Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
reset, causing watchdog timeouts). The interfaces work fine, but the
timer doesn't get reset correctly.
- make IFF_SIMPLEX only set iff the media is IFM_FDX (prevents ip6 from
seeing it's packets and thinking another machine with the same mac is
on the wire when running half-duplex); from NetBSD.
|
|
|
|
|
|
tested by jason@ on sparc64; deraadt@ ok
|
|
|
|
|
|
|
|
|
|
This driver should work with all current models of gigabit ethernet adapters.
Driver written by Intel
Ported from FreeBSD by Henric Jungheim <henric@attbi.com>
bus_dma and endian support by me.
|
|
pointer to the first result location.
|
|
|
|
|
|
ok deraadt
|
|
screen after it has been cleared.
ok fgs@ deraadt@
|
|
|
|
|
|
|
|
simple logic is to light up the led in the intrhook and dim in the
heartbeat always, makes a believable impression.
upper four bits represent a cpu usage w/in the last Hz/8
made up from the cp_time[] times.
|
|
recommended by jason
|
|
|
|
Clean up debugging printfs
Remove some old debugging code that shouldn't be there.
More changes from FreeBSD:
- ignore alignment problem on x86 platforms and don't copy.
- increase receive list to 128 to match transmit
- change a bit in the interrupt handling
|
|
|
|
bits. Also, the conversion between bits and bytes involves a division by
8 not 2. (The latter pointed out by Francis Cianfrocca <vze32r6m@verizon.net>)
|
|
writing to a different window to swizzle the bytes)
|
|
|
|
|
|
fixes panics on unaligned physio; w/ help and testing from daniel@lucq.org
|
|
differences, undoing whitespace, spelling, etc. changes
and adopting the NetBSD code instead of equivalent home
grown code for PPR negotiation, etc.
siop.c 1.21 -> 1.64
siop_common.c 1.12 -> 1.30
siopreg.h 1.7 -> 1.13
siopvar.h 1.13 -> 1.18
siopvar_common.h 1.10 -> 1.21
ncr53cxxx.c 1.5 -> 1.10
siop.ss 1.12 -> 1.17
siop_pci.c 1.8 -> 1.11
siop_pci_common.c 1.6 -> 1.17
siop_pci_common.h 1.2 -> 1.4
Many fixes, add 1010-66 support, restructure things to prepare for
addition of esiop, osiop and oosiop drivers.
tested on various archs by art@, millert@, wilfried@, jason@,
Dan Weeks.
ok deraadt@.
|
|
|
|
From NetBSD. First step in siop update/resync.
|
|
|
|
|
|
as well; miod@ ok.
|
|
|
|
|
|
Finally my "Cyclades Cyclom-8Y" works correctly.
Cleanups:
- no more stupid arrays, we have softc structs, use them.
- no more global poll timeout that walks an array, timeouts are now cheap,
one poll per softc.
- sc_dev.dv_xname is the correct thing to print in diagnostic printfs.
- don't have bus-specific code in the generic attach for @#%$! sake, it
took 20 seconds to fix (I suspect that the workaround took much more
time to write).
- spltty, not splhigh.
- use pci_mapreg_map, not pci_{io,mem}_find + bus_space_map.
- use defines, not magic constants in a few places.
- KNF in a few places (much more work needed).
Now the interesting parts:
- when handling the interrupt, don't just ignore it when the tty is not
open. Read and discard the data. If we don't read it, the card will
interrupt again and again and again and ... (inspired by NetBSD).
- actually enable interrupts on PLX9050
- From FreeBSD: "Work around a PLX9050 bug that causes system lockup in
certain systems"
deraadt@ ok
|
|
|
|
|
|
o kludge around a problem with Netgear MA301 hanging when booted w/o a card.
o better card detection w/ PLX adapters
o correct the info in some comments
mickey@ OK
|
|
I screwed something up when the function was trying to do both and it's
much easier to read this way (and heck, even works).
- Enable hardware normalization for chips that support it
|
|
is in little endian mode.
- since sw normalization is now the only option, simplify normalization handling
- remove some leftover #if 0 code
|
|
|
|
|
|
|