| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
expected to be unknown in some cases, and printing it clutters up
things too much.
|
| |
|
| |
|
| |
|
|
|
|
| |
Noticed by: njl
|
| |
|
|
|
|
|
|
| |
redundant includes and fix some of the include disordering.
Submitted by: bde
|
|
|
|
|
|
|
| |
the modules.
Also generate usbdevs.h automatically now, but a non-kernel file is
stopping that at the moment.
|
|
|
|
| |
for us.
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Remove redundant $FreeBSD$
o Better comments about ep_get_macaddr.
o remove one tab in a switch statement (style only)
o Recognize ID 0x0035 as the device ID for the 3CXEM556 that I have. This
makes the 3CXEM556 work for me. Not 100% sure this is the assigned ID,
as I don't have the datasheets for this part, but it does work and get
the correct ethrnet address.
o Comment about the whole fake IRQ 3 thing. some need it, some don't, all
work with it.
|
|
|
|
| |
o Minor tweak to error processing in ep_alloc.
|
|
|
|
| |
o define EP_W2_ALT_EEPROM. we don't use it yet, but may soon.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
|
|
|
|
|
|
| |
Use SET_IRQ for pccard case, rather than exapnding it inline.
Requested by: mdodd
|
|
|
|
|
|
| |
o give an argument to EP_BUSY_WAIT
o use foo_locked rather than foo_body
o Add locking assertions for extra safety.
|
|
|
|
|
|
|
|
| |
o Make the driver MPSAFE
o Some changes due to diff reduction effort with vx.
o Removed some obsolete junk.
Reviewed by: sam, modd
|
| |
|
|
|
|
|
| |
((uint32_t *) v) + 10 != ((caddr_t) v) + 10
so apply the cast later.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
error may not have been picked up right away.
Reviewed by: mdodd
Submitted by: Stuart Walsh
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people
submit patches like this over the years of varying qualities, markm
being the last. The names were chosen in consulation with mdodd on
irc.
I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT.
I've not tried with my more extensive ISA, EISA and cbus collection.
Reviewed by: mdodd
|
| |
|
|
|
|
| |
Also some minor style cleanups.
|
|
|
|
|
| |
epstop() in ep_detach().
This fixes a freeze that happens when ejecting a ep(4) pcmcia card.
|
|
|
|
|
|
|
| |
The next round of commits will be to fix up locking in it. This lot
is to at least give a consistent base to work off.
OK'ed by: imp, mdodd
|
|
|
|
| |
commit.
|
|
|
|
|
| |
by calling the first mbuf in the chain m0 and fixing a few nearby
style bugs, mostly s/0/NULL/.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
flag'ed INTR_MPSAFE. In ep_if_start(), use the IF_DEQUEUE macro to
grab the next mbuf to send, and use IF_PREPEND if the card is busy
and we actually can't handle it right now.
The old code was first getting the mbuf by taking it from the queue
without using the macros, thus without locking, and without removing
it from the queue either. It was later assuming that IF_DEQUEUE would
give him this same mbuf.
Tested by: mich
|
|
|
|
|
| |
description. This allows us to rely entirely on the CIS entries if
necessary...
|
|
|
|
| |
committed.
|
|
|
|
|
| |
- Move ep_pccard_detach() to if_ep.c and rename to ep_detach()
- Specify detach methods for all bus frontends.
|
| |
|
|
|
|
|
| |
- Modify ep_get_macaddr() to return an error status.
- Reverse the return value logic of eeprom_rdy().
|
| |
|
|
|
|
| |
compilation yielded definitions that we're used.
|
|
|
|
| |
Approved by: trb
|
|
|
|
| |
i386 only at this point.
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
1) We shouldn't continue when we get a RX complete because we ack it
and the TX complete.
2) Fix a couple of spl leaks
(why splbio is needed in ISR, I cannot understand).
MFC after: 3 days
|
| |
|
| |
|
| |
|