Age | Commit message (Collapse) | Author |
|
|
|
that function. It seems this function was intended to be called with
interrupts disabled but that is not (no longer?) the case. As a result
there were some races accessing the list of interrupt handlers and we would
leave the function with interrupts disabled if there were any interrupts
pending. This could make us end up in the idle loop with interrupts disabled,
which would "hang" the machine.
Found with help from deraadt@
|
|
or wcc data if we have a proper reply.
found the hard way by ariane@, tested by ariane@.
OK blambert@
|
|
mii_phy_add_media() to set the media types and adjust the
anegticks as appropriate.
From FreeBSD via Brad.
Tested by jasper@. No objections after being posted on tech@.
|
|
|
|
|
|
|
|
|
|
|
|
of the pcb and using the p_addr member of 'struct proc' to calculate the
address of the kernel stack when switching to virtual mode after taking a trap.
Remove the now unecessary cache flushes; they're actually harmful since they
create non-equivalent aliases. This seems to fix the memory corruption we
have been observing from time to time.
This diff does not rename fpu_curpcb, which is now somewhat incorrectly named.
I hope to change things back again as soon as we are able to map the pcb 1:1.
|
|
ok martynas@
|
|
|
|
- P5B, WUSB54GCV2, WL168V1
ok jsg@
|
|
|
|
|
|
|
|
from realtek windows driver
- and also P5B Deluxe; from asus
- WL168 is actually WL168 rev. 4
ok jsg@
|
|
ok damien@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
From Brad.
|
|
even though adding an already existing routing table is not allowed.
Leak found by blambert@, fix by myself. OK blambert@
|
|
some greater care must be taken to ensure the mbuf generated for icmp
errors is a good copy.
|
|
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.
|
|
|
|
|
|
|
|
ok jsg@
|
|
ok jsg@ claudio@
|
|
1) at least one match rule matched the packet and
2) we do not create state
found by me while fixing the pool_get problem, ok dlg
|
|
introduced by yours truly (no idea how that could happpen), problem
found by sthen the hard way, fix by me. ok dlg
|
|
Even if we know that someone safely holds B_BUSY and will not modify
the buf (as was the case in here), we still need to be sure that
the B_BUSY will not be released while we fiddle with the buf.
In this case, it was not safe, since copyout can sleep and whoever was
writing out the buf could finish the write and release the buf which
could then get recycled or unmapped while we slept. Always acquire
B_BUSY ourselves, even when it might give a minor performance penalty.
thib@ ok
|
|
|
|
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
|
|
We feel we have done due diligence though in trying to contact the original
distributors, and therefore, we do distribute it.
|
|
for many years to contact all the potential copyright owners and people who used
to distribute this (ie. wpaul and such), to get the original license text
clarified. We believe the original license on the source did specifically
allow re-distribution. We believe we have done enough in this situation,
especially considering how dead this product us. If anyone else knows more,
please let us know.
ok kettenis
|
|
|
|
|
|
Agreed by mcbride@, sthen@ and henning@
|
|
ok claudio@
|
|
makes Enhanced SpeedStep work on new machines, but requires
acpimadt0 to be enabled.
ok by jsg@ and claudio@
|
|
fixed, but now it is time for a little break from the chaos.
ok kettenis
|