| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
pci_get_ether accesor, which gets it from the CIS for cardbus cards
(and from other pci-like buses via whatever mechanism is used there).
Submitted by: sam
Approved by: re (blanket)
|
|
|
|
|
|
|
|
| |
the following drivers:
dc mn sf sk ste ti tl xl an bge em gem gx ie lge sr aue cue kue wi xe
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Detect the revision of the Rhine chip we're using.
2. Use the force reset command on revisions which support
it whenever the normal reset command fails.
This should solve a wide range of "my vr0 locks up with reset
failed messages" problems. (Although the root causes should
be eventually tracked down.)
Tested by: grenville armitage <garmitage@swin.edu.au>
Obtained from: Via's if_fet driver
MFC after: 3 days
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
| |
o use if_input for input packet processing
o don't strip the Ethernet header for input packets
o use BPF_* macros bpf tapping
o call ether_ioctl to handle default ioctl case
o track vlan changes
Reviewed by: many
Approved by: re
|
| |
|
|
|
|
| |
to order of operations that are actually fixed by the proper parenthasizing.
|
|
|
|
| |
Verified by: md5
|
| |
|
|
|
|
|
| |
if it's IO port resource is IO or memory mapped for the sake of a printf
using i386-specific values in #ifdef __i386__.
|
| |
|
| |
|
|
|
|
|
| |
we'd need it is if we're interrupted. So, register the interrupt last
in the attach routine.
|
|
|
|
|
|
|
|
|
| |
(newer) 556B chips.
Requested & tested by: Dinesh Nambisan <dinesh@nambisan.net>
Magic bits found by: Dave Dribin & Donald Becker
MFC After: 3 days
|
|
|
|
|
| |
printf("%s%d: blah", ifp->if_name, ifp->if_xname). This eliminates the
need to store the unit number in the softc.
|
|
|
|
|
|
| |
Properly put macro args in ().
Spotted by: FlexeLint.
|
|
|
|
| |
Spotted by: FlexeLint.
|
| |
|
|
|
|
|
|
| |
print them with %p. Cast to unsigned long and print with %#lx.
Discussed with: bde
|
|
|
|
|
|
| |
as spl replacements, but you cant sleep while holding mutexes.
This change has been made on many other drivers.
|
|
|
|
|
| |
pointers (but more precisely vm_offset_t) can be printed with %x. Use
%p instead and cast the argument to caddr_t.
|
|
|
|
| |
Pointy Hat to: The Mad Redhead of Niwot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBSD who got the code (or the idea) from the NetBSD tlp driver.
This gets some cardbus dc cards working (either completely or nearly
so). It also appears to get additional pci cards working, without
breaking working ones.
# Maybe some additional work is needed here. Also, the cardbus attachment
# might need to match on the CIS rather than on the vendor/device so we have
# a finer level of detail as to what the card is. Technically, the
# vendor/device fields are undefined for CardBus (even though most cards are
# using common silicon with pci models).
|
|
|
|
| |
Submitted by: Matt Emmerton <matt@gsicomp.on.ca>
|
|
|
|
| |
Noticed by: phk
|
|
|
|
| |
Spotted by: FlexeLint
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 3 weeks
|
|
|
|
|
|
| |
Add of NVIDIA nForce (nfpm) smbus support.
Obtained from: Thomas D. Dean <tomdean@speakeasy.org>
|
|
|
|
|
|
|
|
|
| |
RXSTATE to STOPPED, but to WAIT. This should fix hangs which
could only be solved by replugging the cable.
Submitted by: jhb
Reviewed by: phk
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
This solves cvsup update on my laptop which aborts after a while
without this patch.
PR: 34236
Reviewed by: phk
MFC after: 2 weeks
|
|
|
|
| |
stop breaking alpha LINT.
|
|
|
|
|
|
| |
out of fragments.
Suggested by: jhb
|
|
|
|
| |
Submitted by: David Dawes <dawes@XFree86.Org>
|
|
|
|
| |
Submitted by: David Dawes <dawes@XFree86.Org>
|
|
|
|
| |
<kawasaki@mbg.sphere.ne.jp> and David Dawes <dawes@XFree86.org>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 550 version is location at address 1 but since it works right we
let the code find whatever PHY it can.
Fix a fragment issue on TX. If the number of frags are more then the
driver has allocated then bring all the frags together into one packet
and send it out. Code derived from the fxp driver.
Tested and found by: Francois Tigeot <francois.tigeot@nic.fr>
Hellmuth Michaelis <hm@kts.org>
MFC after: 1 week
|
|
|
|
| |
Approved by: gallatin (mentor)
|
| |
|
| |
|
|
|
|
|
|
| |
USB-C.
PR: kern/41963
|
|
|
|
| |
namespace pollution in <sys/lock.h>.
|
| |
|
|
|
|
|
|
| |
pmap_zero_page() and pmap_zero_page_area() were modified to accept
a struct vm_page * instead of a physical address, vm_page_zero_fill()
and vm_page_zero_fill_area() have served no purpose.
|
| |
|
|
|
|
|
| |
put return values on a line by themselves.
fix some paste issues where whitespace was used instead of tabs.
|
|
|
|
| |
Ok'd previously by: wpaul
|
|
|
|
|
|
|
|
|
| |
or not we have to limit the PHY detection in the softc structure. Then
just check the flag.
Suggested by: jdp
Reviewed by: jdp
MFC after: 3 days
|
|
|
|
| |
barf and there seem to be little room for contention during attach.
|
|
|
|
| |
vendor description code.
|
|
|
|
|
| |
Don't display the "New UHCI DeviceId" message unless booting verbosely.
Use a switch statement for the vendor match code.
|
|
|
|
|
|
|
| |
breaking application ABI use unused ifreq.ifru_flags[1] for upper 16 bits in
SIOCSIFFLAGS and SIOCGIFFLAGS ioctl's.
Reviewed by: -hackers, -net
|