Age | Commit message (Collapse) | Author |
|
at least this allows our boot blocks to work with glass console on these
machines now.
Caution: reading this code will hurt your eyes.
ok deraadt@
|
|
|
|
- check for error bits in descriptors, and count and report errors
accordingly; make sure we do not pass up known-to-be-bad packets up the
receive path.
- check for various error conditions which would cause the transmit process
to go to suspended state, and recover from them, before the timeout expires.
- finally, on the VXT2000, the transmit process for some reason will reset
its ring position to the beginning of the ring every time it completes a
transmission burst, while we don't, so play with the head of ring register
behind its back. This makes my VXT2000+ (net)boot multiuser.
Tested on VXT2000 (ze@vxtbus), KA49 (ze@vsbus) and KA53 (ze@ibus); ok deraadt@
|
|
|
|
numbers, reported by Raja Subramanian; ok henning@
|
|
as per other drivers instead of doing panics.
Should workaround PR 5206 which I could never manage
to reproduce, though we really shouldn't be getting
IEEE80211_CHAN_ANY here.
ok deraadt@
|
|
bytes each of them has, not the number of kilobytes. this solves the
"why am i dividing by 2" question. the answer is "you dont, you multiply
by 512".
|
|
|
|
ok deraadt@
|
|
Changes in the ERP information element and in the capinfo field were not
detected properly, so the drivers were not able to adjust their settings
(like short slot time, short preamble, protection mode etc...)
dynamically. Should fix BSS mode with both 802.11b and 802.11g stations.
ok reyk@
|
|
cosmetic tweaks.
ok reyk@
|
|
Instead of removing the rates from the node's rate set, just check that
the fixed rate is present in the rate set. Otherwise, the node will be
marked non-ERP which will force the use of protection mode (either
CTS-to-self or RTS/CTS) in an 802.11g network and degrade performance.
This fixes HostAP mode for 11g with a fixed rate.
Problem originally reported by Sam Fourman Jr.
Code from FreeBSD.
ok reyk@, "no objections here" jsg@
|
|
come without an attached SEEPROM.
ok deraadt@
|
|
formal ok deraadt@
|
|
as the resulting demotion counter value is in range. previously, we only
allowed +/- 1. ok mpf mcbride deraadt
|
|
already freed by ucom_close().
Problem reported and initial patch provided by Marc Winiger <marc@winiger.ch>
ok miod, deraadt
|
|
|
|
(for now, until the bugs are found. USIII machines remain serial-only
for now); ok miod
|
|
|
|
ok pedro@, miod@
|
|
The firmware expects 3KB Rx buffers so we can't just map mbuf clusters
which are only 2KB. Also it seems that Rx buffers must be aligned on
a 1KB boundary which is not necessary the case with mbuf clusters.
We want to make damn sure the firmware will not DMA anything outside the
mapped Rx buffers. The size of the Rx buffers is probably configurable
but Intel will refuse to answer to any question regarding the
programmation of the chipset, and a dump of the device registers led to
nowhere.
|
|
ok mpf@ henning@
|
|
|
|
|
|
(one not taken)
|
|
|
|
|
|
and drop such bad packets. Also remove some redundant mallocs.
This fixes possible heap overflows when forming replys to such bad
packets as discovered by Martin Husemann and Pavel Cahyna.
reported by NetBSD, initial diff from markus@,
additional comments by claudio@, ok markus@
|
|
Remove dead code chunk from if_pgt_pci.c.
For those who want to refer to the original code you can find it in
~mglocker/pgt/orig.
|
|
Needed to support onboard bge(4)'s on Sun machines which don't seem to be
fitted with the EEPROM that normally contains the MAC address.
ok brad@
|
|
|
|
|
|
instead.
requested by deraadt@
|
|
|
|
|
|
the ANAR as appropriate.
Derived from a diff for FreeBSD; same technique used by the Linux r8169 driver.
|
|
ok marco@
|
|
found by krw@
|
|
|
|
i can just check if this is non zero to see if a volume is degraded. this
means i dont have to pull the raid info page to find failed disks in the
volume inquiry.
|
|
|
|
to either a BCM5700 or BCM5701 chip and have the Dell PCI vendor subid.
The appropriate code has been in brgphy for 2 years, now the bge(4) driver
will use it.
Also found in the Broadcom bcm5700 and Linux tg3 drivers.
|
|
|
|
|
|
UltraSPARC III and up. That way it isn't really that horrid and doesn't really
affect UltraSPARC I & II. This gives us a GENERIC that runs on UltraSPARC III.
ok deraadt@
|
|
|
|
but fetching array status and rebuild/blinking works on compaq/hp boxen; testing and some fixes by krw@
|
|
in the PCI slot of the v210.
ok jason@
|
|
console works on color model, serial console works, ethernet attaches but
does not work correctly yet.
|
|
Don't forget to rerun config(8)!
|