summaryrefslogtreecommitdiffstats
path: root/sys/dev/xe
Commit message (Collapse)AuthorAgeFilesLines
* Add some seat belts. If we set the error rc, then return it and don'timp2001-08-291-1/+3
| | | | | | pretend things succeeded. This can happen if the address returned form bus_alloc_resource for the cis memory is occupied by some of thing.
* Convert if_multiaddrs from LIST to TAILQ so that it can be traversedphk2001-02-061-4/+4
| | | | | | backwards in the three drivers which want to do that. Reviewed by: mikeh
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-4/+4
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Tag unused functions with __unused.jhb2001-01-231-2/+2
|
* select() DKI is now in <sys/selinfo.h>.wollman2001-01-091-1/+0
|
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Make all Ethernet drivers attach using ether_ifattach() and detach usingarchie2000-07-131-9/+2
| | | | | | | | | ether_ifdetach(). The former consolidates the operations of if_attach(), ng_ether_attach(), and bpfattach(). The latter consolidates the corresponding detach operations. Reviewed by: julian, freebsd-net
* Remove the XE_DEBUG define. It shouldn't be defined now that thingsimp2000-07-101-2/+3
| | | | | | | are working. Add a small blurb about XE_DEBUG as it might be useful to some people troubelshooting problems in the future. Submitted by: "Kevin Oberman" <oberman@es.net>
* Add support for the modem side of the 56k combo card.imp2000-05-301-77/+77
| | | | Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>
* Move code to handle BPF and bridging for incoming Ethernet packets outarchie2000-05-141-23/+1
| | | | | | | | | | | | | | | of the individual drivers and into the common routine ether_input(). Also, remove the (incomplete) hack for matching ethernet headers in the ip_fw code. The good news: net result of 1016 lines removed, and this should make bridging now work with *all* Ethernet drivers. The bad news: it's nearly impossible to test every driver, especially for bridging, and I was unable to get much testing help on the mailing lists. Reviewed by: freebsd-net
* Now that I've got reports that this works, let's turn the debugging off.imp2000-05-011-4/+0
| | | | | | MIHIRA-san pointed out that debugging is rather big for tcpdump... Submitted by: sanpei@sanpei.org (MIHIRA Yoshiro)
* Return 0 from attach.imp2000-04-291-1/+1
| | | | Submitted by: mihira-san <sanpei@sanpei.org>
* First cut at adding CIS reading to xe driver. I don't have a cardimp2000-04-252-9/+16
| | | | | | that seems to be working (I have a MF card that has a 336 modem and ethernet that the probe routine finds, but the attach fails on because pccardd doesn't do what you'd like with MF cards all the time).
* o Preliminary support for mapping the CIS by the driver.imp2000-04-201-4/+6
| | | | | | | | o Modify xe driver to use this. There's still some issues with this code, so xe can't map the cis just yet. I'm thinking about how to resolve the issue. pccard_nbk's pccard_alloc_resource is getting in the way.
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-2/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* Remove #if 0'ed reference to isa_device->id_alivepeter2000-01-231-1/+0
|
* Move xe driver from dev/pccard to dev/xe. Convert driver to newbus.imp2000-01-103-536/+397
| | | | | | | Driver is not functional yet, but does compile. Tests with xe cards indicates that it doesn't panic the machine when they are present, but fail to probe. Interface help in the pcic/pccard layers are needed to complete this driver.
* Disable old PCCARD_MODULE code.imp1999-10-291-0/+2
| | | | | | This should fix LINT. Prompted by: phk's explicit message about LINT breakage
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-9/+0
| | | | | | | | | | | | This means that we will not have to have a bpf and a non-bpf version of our driver modules. This does not open any security hole, because the bpf core isn't loadable The drivers left unchanged are the "cross platform" drivers where the respective maintainers are urged to DTRT, whatever that may be. Add a couple of missing FreeBSD tags.
* Restore vendor $Id$ now that it won't be clobbered.peter1999-09-232-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-282-4/+4
|
* Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>,phk1999-08-081-1/+1
| | | | | | a few lines into <sys/vnode.h>. Add a few fields to struct specinfo, paving the way for the fun part.
* Rename bpfilter to bpf.des1999-07-061-8/+8
|
* Wrap the definition of "XE_DEBUG" so it is overridable from the ``cc''obrien1999-06-221-0/+2
| | | | commandline or kernel conf file.
* Fix conflicts.obrien1999-06-222-120/+214
|
* Virgin import of Xircom PCCARD driver v1.20 (1999/06/13):obrien1999-06-221-114/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Conformance with Dingo specification. This includes: Collision/error statistics gathering. Multicast address filtering, eg. the hash filter. Initialisation and interrupt handling sequences. Note that I've started on some of this already in v1.20. * The probe routine needs some more work, to identify oddities such as the REM10. * There are still problems with the autonegotiation code; specifically, it won't autonegotiate with some 10/100 hubs. This might simply be the hardware not getting along, in which case there's nothing we can do, but it's still worth investigating * CEM28/CEM33 support. Should be able to integrate this directly from the Linux code. * Performance enhancements: Full-duplex on 10Mbit networks. Virtual shared-memory mode. Early send and receive modes. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Simplify cdevsw registration.phk1999-05-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* if_xe* now lives in sys/dev/pccard/obrien1999-05-141-1/+2
|
* Virgin import of Xircom PCCARD driver v1.19.obrien1999-05-141-78/+63
| | | | | | | | | | | | | | v1.19 (1999/04/15) updates the CEM56/REM56 support. Current bugs & misfeatures -------------------------- * CE2 cards still not working reliably. Unclear if this is related to packet I/O code or interrupt handling. * Autonegotiation support remains flaky. We're now OK with 10Mbit auto hubs, but certain combination of hardware will fail to connect. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.18obrien1999-05-141-14/+160
| | | | | | | v1.18 (1999/04/08) adds support for CEM56 and REM56 multifunction cards. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.17obrien1999-05-141-34/+87
| | | | | | | | | | | | | | | | | | | | | | | | v1.17 (1999/03/28) has xperimental fixes to 10Mbit autonegotiation and CE2 input lockup. KNOWN BUGS ========== * Media auto-negotiation is definitely not right. It will work in most circumstances and seems to connect OK to most 100Mbit networks, however some pathological combinations of hubs/networks/peers seem to confuse it. * CE2 support is somewhat flakey (ranging from 'works perfectly' to 'hangs the machine' so far). I've fixed the probe routine and a potential lockup in the output routine, but a lot of people still report that they can't receive or transmit. * You won't be able to use the modem and Ethenet parts of a multifunction card simultaneously. This is limitation the current FreeBSD PCMCIA support. Likewise, there is no support for CardBus devices. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.16.obrien1999-05-141-4/+6
| | | | | | | | v1.16 (1999/03/08) fixed BPF input hang and infinite loop on CE2 short-packet output. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.15obrien1999-05-141-5/+9
| | | | | | | v1.15 fixed driver registration bug under 3.1-STABLE. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.14obrien1999-05-142-1303/+1373
| | | | | | | | | | | | | | | | | | This driver is mostly based on the `xirc2ps' driver for Linux by Werner Koch. Werner has even allowed his code to be distributed under a BSD licence, making our life considerably easier -- thanks Werner! This driver supports: * Intel EtherExpress(TM) PRO/100 PCCARD (16-bit version) * Xircom CreditCard CE2 / CEM28 / CEM33 / CE3 / CEM56 Ethernet adapters. * Toshiba Advanced Network 10/100 PCCARD * Certain Compaq Netelligent 10/100 branded cards v1.14 has major changes to media selection code, and bugfixes in the probe routine. Developed by: Scott Mitchell <scott@uk.freebsd.org> Obtained from: http://www.freebsd-uk.eu.org/~scott/xe_drv/
* Virgin import of Xircom PCCARD driver v1.13obrien1999-05-142-0/+2439
OpenPOWER on IntegriCloud