summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep
Commit message (Collapse)AuthorAgeFilesLines
* Don't print 'unknown id' in the ep_pccard_identify routine. It isimp2005-01-201-2/+1
| | | | | expected to be unknown in some cases, and printing it clutters up things too much.
* u_intXX_t -> uintXX_t while I'm here.imp2005-01-206-33/+33
|
* Only attach to network functions.imp2005-01-201-0/+10
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-066-6/+6
|
* Remove duplicate $FreeBSD$imp2004-07-223-9/+0
| | | | Noticed by: njl
* Minor style nitimp2004-07-221-1/+1
|
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewimp2004-05-271-1/+1
| | | | | | redundant includes and fix some of the include disordering. Submitted by: bde
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* We don't need to initialize if_output, ether_ifattach() does itmux2004-05-231-1/+0
| | | | for us.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-172-6/+4
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Removed duplicate __FBSDID(). Keep the one that style(9) likes.ru2004-03-141-3/+0
|
* Announce ethernet MAC addresss in ether_ifattach().mdodd2004-03-141-3/+0
|
* MFp4:imp2003-11-021-6/+14
| | | | | | | | | | | | 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.
* MFp4:imp2003-11-021-1/+3
| | | | o Minor tweak to error processing in ep_alloc.
* MFP4:imp2003-11-021-0/+1
| | | | o define EP_W2_ALT_EEPROM. we don't use it yet, but may soon.
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-2/+1
| | | | | | | | | | | | | 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)
* Pass sc to GO_WINDOW macro.imp2003-10-266-26/+24
| | | | | | Use SET_IRQ for pccard case, rather than exapnding it inline. Requested by: mdodd
* Minor style nits suggested by sam and mdodd:imp2003-10-254-26/+33
| | | | | | o give an argument to EP_BUSY_WAIT o use foo_locked rather than foo_body o Add locking assertions for extra safety.
* Whole grab-bag of changes:imp2003-10-257-208/+216
| | | | | | | | o Make the driver MPSAFE o Some changes due to diff reduction effort with vx. o Removed some obsolete junk. Reviewed by: sam, modd
* Fix mismerge from one tree to another: add (imp2003-10-231-1/+1
|
* Learn basic C.imp2003-10-231-2/+3
| | | | | ((uint32_t *) v) + 10 != ((caddr_t) v) + 10 so apply the cast later.
* Finish the removal of the bst/bsh confusion.imp2003-10-191-10/+10
|
* Fix LINT build by correcting a missed change.bms2003-10-191-1/+1
|
* Don't confuse tags and handles.imp2003-10-191-2/+2
|
* Fix a typo. The module has the EISA front-end commented out, therefore thebms2003-10-181-1/+1
| | | | | | | error may not have been picked up right away. Reviewed by: mdodd Submitted by: Stuart Walsh
* Transition to using bus_space macros rather than the inb/outb/etc.imp2003-10-185-126/+142
| | | | | | | | | | | | 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
* Style fixes of the whitespace variety. Fix long lines and tabs.markm2003-08-303-69/+102
|
* Use __FBSDID().obrien2003-08-245-0/+15
| | | | Also some minor style cleanups.
* Use bus_child_present() to make sure the card is still there before callingcognet2003-08-191-1/+2
| | | | | epstop() in ep_detach(). This fixes a freeze that happens when ejecting a ep(4) pcmcia card.
* Style(9) cleanup. There was no consistent style in this driver, andmarkm2003-07-177-912/+830
| | | | | | | 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
* Other minor style nits I missed in ep_if_start() in my previousmux2003-06-261-3/+4
| | | | commit.
* Make if_ep_start() look a bit more like other if_start() functions,mux2003-06-261-18/+13
| | | | | by calling the first mbuf in the chain m0 and fixing a few nearby style bugs, mostly s/0/NULL/.
* Fix a race condition that was introduced since pccbb interrupts aremux2003-06-261-7/+5
| | | | | | | | | | | | | 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
* Make sure that pp_name is non-null before setting the deviceimp2003-04-101-1/+2
| | | | | description. This allows us to rely entirely on the CIS entries if necessary...
* Revert 1.21; this was local code that should not have beenmdodd2003-03-301-5/+5
| | | | committed.
* - Free interrupt handler in ep_free().mdodd2003-03-296-18/+32
| | | | | - Move ep_pccard_detach() to if_ep.c and rename to ep_detach() - Specify detach methods for all bus frontends.
* Checksum the configuration EEPROM.mdodd2003-03-291-0/+43
|
* - Return error status instead of value in get_e().mdodd2003-03-294-32/+71
| | | | | - Modify ep_get_macaddr() to return an error status. - Reverse the return value logic of eeprom_rdy().
* Register dependency on the elink module.mdodd2003-03-291-0/+3
|
* Fix compilation on non-i386 machines. Inconsistent conditionalmarcel2003-02-231-3/+5
| | | | compilation yielded definitions that we're used.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-4/+4
| | | | Approved by: trb
* Bandaid the bits that use the elink_foo() functions which aremdodd2003-02-131-1/+9
| | | | i386 only at this point.
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-4/+4
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* network interface driver changes:sam2002-11-142-16/+5
| | | | | | | | | | | | | | 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
* Fix build breakage on my pccard related commit.takawata2002-05-311-1/+1
|
* Remove __P.alfred2002-03-202-10/+10
|
* Two fixes from Jonathan Hanna:imp2002-02-121-6/+4
| | | | | | | | | 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
* More devices. Obtained from NetBSD.imp2001-11-151-2/+4
|
* Migrate to PCMCIA_CARD() macrosimp2001-11-151-15/+5
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-111-15/+15
|
OpenPOWER on IntegriCloud