Age | Commit message (Collapse) | Author |
|
From Brad.
|
|
It seems that some revisions of the controllers hang while accessing
the VPD. Because VPD access routine is now unused, nuke it.
- Let TWSI reload EEPROM if VPD capability is detected. Reloading
the EEPROM will also set the Ethernet address, so age(4) now reads
AGE_PAR0 and AGE_PAR1 register to get the Ethernet address. This removes
removes a lot of hacks and enhance readability a lot.
- Double PHY reset timeout as it takes more time to take the PHY out of
power-saving state.
- Explicitly check power-saving state by checking undocumented PHY
registers. If link is not up, poke undocumented registers to take
PHY out of power-saving state. This is the same thing done by the
Linux driver.
- Don't rely on auto-clearing feature of master reset bit, just wait
1ms and check idle status of MAC.
From FreeBSD via Brad.
|
|
|
|
From now on install the tigon firmware in little endian byte order and swap
it acordingly in the driver. Correctly calculate the length of the FW in the
build tool -- now my fiber cards no longer have issues to establish link on
bootup. Please put this in deraadt@
On big endian archs (sparc64, macppc) the firmware file needs to be updated.
|
|
whether this is an L1E or L2E chipset.
From Brad
|
|
From Brad
|
|
|
|
bus_space_alloc() as a bitmask of flags, and not a boolean controlling
cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented
in the manual page are defined on all platforms as well.
|
|
ok miod@, marco@
|
|
- un-PAUSE when the rx FIFO gets below 3056 as is done on FreeBSD and Linux.
- properly update the MAC according to the negotiated flow control.
From Brad.
|
|
access rights before attempting to access the data pointer as a pciio
structure.
ok jsg@ kettenis@
|
|
by the firmware; our PCI code takes care of this now. Also eliminate
support for I/O socket BARs. There is no evidence they actually exist.
Clean up some unused structure members while there.
ok miod@
|
|
|
|
|
|
to a more reasonable default. speeds up the armish machines in particular
(perhaps because their pci bus is so slow), and has no downside when tested
on other machines.
from linux originally, via brad, ok drahn
|
|
|
|
|
|
for mapping ROM BARs.
|
|
sokeris by mk@, and to work on sparc64 by brad@ and on sgi by yours truly.
|
|
space in pccbb_winset(), instead of their bare values. Saves time for grep
users. While there, a few grammar and typo fixes in comments.
|
|
myself and jasper@.
|
|
But also use the flag where it makes sense. From Brad; ok sthen@
|
|
logic to be chipset dependent; no functional change yet.
ok kettenis@
|
|
ppb resources in the parent extent.
ok kettenis@
|
|
|
|
consistency).
|
|
ok oga@, miod@, deraadt@
|
|
Been running this on my laptop for a while now with no apparent ill effects.
originally from a longer list from grange@
ok krw@ as part of that list
|
|
|
|
|
|
old code showed the nic as active all the time, which makes it suck as
part of a trunk.
testing and ok by reyk@
|
|
ok damien@
|
|
|
|
|
|
|
|
|
|
|
|
the 5709s use a the b09 firmwares, which is different to the b06 used by
all the other chips supported by bnx. the majority of the diff comes from
special handling for some indirect reads and writes, and because it needs
more host memory to operate with.
ive tried to keep the cosmetic changes to a minimum.
"go for it" deraadt@
|
|
the b06 firmware for the older chips, and adds the b09 firmware. there are
three variants of the rv2p code thats loaded onto the chips, so this has
been split out into separate firmware files as well.
the driver has been updated to handle the split firmwares, and to easily
allow loading of the different versions. this change only supports the
loading of the firmwares for the currently supported chips.
after this change you must build the new firmwares and install them as well
as your new kernel.
"go to it" deraadt@
|
|
address space that is already in use when reassigning BARs.
|
|
|
|
|
|
ok deraadt@
|
|
bring back rev 1.16, em style MCLGETI based on a diff from reyk with
critical fixes by me.
|
|
leak memory, lose maps or cause double frees.
Problem courtesy of our good friends at Intel in the original
FreeBSD driver.
"awesome" dlg@
|
|
Noticed by deraadt@.
|
|
ok jsg
|
|
pci bus because of the expresscard adaptors... Lacking a better mechanism,
also remind people to keep those lists syncronised.
|
|
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards
can work in the expresscard adaptor, as pci devices.
ok jsg
|
|
with help from Brad. OK deraadt@
|