Age | Commit message (Collapse) | Author |
|
MAC address in the common attach code and not the PCI/CardBus
specific portions, this was a side effect of the code being
split to support CardBus.
ok beck@
|
|
encapsulating all such access into wall-defined functions
that makes sure locking is done as needed.
It also cleans up some uses of wall time vs. uptime some
places, but there is sure to be more of these needed as
well, particularily in MD code. Also, many current calls
to microtime() should probably be changed to getmicrotime(),
or to the {,get}microuptime() versions.
ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others
"Oh, that is not your problem!" from miod@
|
|
|
|
|
|
|
|
Matthew Gream.
Unfortunately, the adm8211 card I have with me does not work correctly
with the driver yet so real testing will have to wait until I get
my hands on an adm8211-based DWL-650 or something similar.
|
|
for devices. This is how ahc is done too. Fixes probe hang on Theo's
box with the 7902B chip.
ok marco@
|
|
instead of SIOCSIFASYNCMAP and SIOCGIFASYNCMAP. Needed for upcoming
802.11 framework. OK deraadt@
|
|
config comands and other types but we don't so remove the CNF_ from
WI_RID_CNF_ENH_SECURITY and WI_RID_CNF_DBM_ADJUST for consistency
and compat with Net and Free.
|
|
|
|
things such that code that only need a second-resolution uptime or wall
time, and used to get that from time.tv_secs or mono_time.tv_secs now get
this from separate time_t globals time_second and time_uptime.
ok art@ niklas@ nordin@
|
|
Allocate max number of SCB's at initialization.
Display negotiated transfer parameters.
ok marco@
|
|
allocate interrupts early on (before PHY attachment, etc) just like all
other drivers do to allow the above; ok mcbride
|
|
|
|
ok mickey@
|
|
- make multicast ranges work
- replace handrolled crc code with ether_crc32_{be,le}()
- add missing calls to ether_{add,del}multi()
ok deraadt@
|
|
ok deraadt@
|
|
|
|
|
|
|
|
ok marco@ millert@
|
|
ok marco@ millert@
|
|
ok mcbride@
|
|
WDC_QUIRK_NOSHORTDMA which disables DMA for the one-sector
transfers. Use this quirk for the Geode SC1100 IDE to fix
hanging during fdisk reported in PR 3729.
Thanks to Alexandre Belloni <abelloni@nerim.net> for testing.
ok costa@
|
|
|
|
|
|
a range instead of ignoring it.
|
|
- get rid of hand rolled crc32 logic, use ether_crc32_{le,be}
- accept all multicast if a range is encountered
|
|
|
|
- disable TX hardware checksumming since its buggy and slow
- re-enable the hardware multicast filter setup on 3c905B/C's
- enable reception of VLAN sized frames on 3c90x's (pre B/C)
- remove all DELAY(1) calls around MII operations in the xl driver.
according to the MII specification, the delay produced by our
reads alone are sufficient for correct operation.
this reduces the time mii_tick takes from 10ms to ~1ms here. that's
still a lot, but much better than before
- report media status for bitrate PHYs
- change the method used to detect older boomerang chips
- fix an issue with reading PHY regs over the i2c bus
- fix mbuf leaks in an error (rare) code path
- reuse the TX descriptor if xl_encap() failed instead of just picking the next one
- fix bug with 3c90xB cards and newer. We weren't trying to
copy the mbuf chain into an mbuf cluster when there is
more than 63 mbufs in the chain. we were trying with older
cards though
- add some magic bits necessary to turn the transmitter on for some
(newer) 556B chips
local change...
- use ether_crc32_be() instead of hand-rolled xl_calchash()
tested on i386/3c900 by beck@, sparc64/3c905C by me, i386/3c905C by sturm@, naddy@ and a few others
ok deraadt@
|
|
to commit it, has not. what is going on guys?
|
|
|
|
i/o's on i386. De-static many functions.
ok marco@
|
|
during boot. ok krw@
|
|
|
|
|
|
|
|
|
|
|
|
on cards that have issues with this creating pci errors in 10 mbps mode
tested by many, including me, nick, and pval.
ok jason@, markus@
|
|
testing by me, pval, nick, others...
ok jason@, marco@
|
|
ok krw@ canacar@
|
|
- correct divisor for fan3 (2 means 2^1, so the divisor is actually 1, not 2)
- fan1 and fan2 have adjastable divisors, use this feature to
dynamically correct divisors for slow fans
- fix SENSOR_FINVALID usage
Based on the diff from Alexander Bluhm <alexander.bluhm@gmx.net> in
PR 3719.
|
|
|
|
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well.
ok millert krw deraadt
|
|
the tree was stable. No point in code supporting a company which screws
its employees being in the OpenBSD tree.
|
|
condition when it was due to the the recieve buffers being exhausted with
no packet transmits during that time. Symptom was that the fxp would
simply stop interrupting for the next 15 seconds until the watchdog kicked
in and reset the chip due to 15 seconds of inactivity, making the fxp very
poorly behaved when hammered on hard.
ok deraadt@
|
|
|
|
|
|
interface is configured down. FXP_NRFABUFS_MIN clusters are allocated at all
times as they are used by the driver to send commands to the card.
ok deraadt@
|