summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_lnc.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Set ifp->if_init to the right function.mdodd1999-08-201-3/+6
| | | | | | | | | | | | if_init_f_t is passed void * containing the address of ifp->if_softc not the unit number. Someone tell me if these things don't work as I don't have the hardware needed to test them. (thats a first.) I'll get if_ze and if_zp later. Pointed out by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Make these actually compile. I got a little delete happy pruning includesmdodd1999-08-181-2/+5
| | | | | | | and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk
* SIOCSIFADDR, SIOCGIFADDR, and SIOCSIFMTU are implemented inmdodd1999-08-181-31/+6
| | | | | | | | sys/net/if_ethersubr.c:ether_ioctl(). Drivers need not implement generic behavior. PR: kern/12126 Submitted by: in part by Boris Popov <bp@butya.kz>
* Add support for the Am79C978. (AMD PCHome/PCI Ethernet adapter)mdodd1999-08-101-1/+13
| | | | | | | See: http://www.amd.com/products/npd/overview/homenetworking/intro.html PR: kern/12275 Submitted by: Robert Watson <robert@cyrus.watson.org>
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* #ifdef BRIDGE around a goto label used by the bridge code to silcence apeter1999-05-091-1/+3
| | | | warning.
* Fix up a few easy 'assignment used as truth value' and 'suggest parenspeter1999-05-061-2/+2
| | | | | around && within ||' type warnings. I'm pretty sure I have not masked any problems here, I've committed real problem fixes seperately.
* Add sufficient braces to keep egcs happy about potentially ambiguouspeter1999-05-061-3/+3
| | | | if/else nesting.
* Set ifq_maxlen to IFQ_MAXLENpaul1999-04-181-2/+2
|
* Set ifq_maxlen to number of transmit descriptors.paul1999-04-181-1/+2
|
* The changes to vm_page.c have broken the assumption that mallocingpaul1999-04-181-13/+24
| | | | | early will result in memory below 16M so now we need to explicitly use contigmalloc to get low physical memory.
* MF22... add bridging support to the device drivers. Without thisluigi1999-03-171-4/+29
| | | | bridging cannot work on -current/releng3!
* Add IFF_MULTICAST when setting flags in lnc_init().paul1999-01-311-2/+2
|
* Fix and enable multicast support.paul1999-01-311-51/+47
|
* Silence warnings.eivind1999-01-121-5/+5
|
* Add Id string to if_lnc.h and fix up copyrights to be consistent and up to date.paul1998-11-261-2/+2
|
* Despite what people may think the Am79C970 returns the chip id of an Am79C965.paul1998-11-261-2/+2
| | | | | Fix the PCI probe code to accept this id otherwise cards based on the Am79C970 fail to probe.
* Fix a typo, and remove verbose error reporting when inluigi1998-10-301-2/+4
| | | | | promisc mode (they are annoying in normal mode as well so i am really tempted to remove them unconditionally...)
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-221-3/+6
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* MF22: Robert Swindells' patch for correct probing of more AMD cards.jkh1998-09-171-32/+65
| | | | Merged by: Max Khon <fjoe@iclub.nsu.ru>
* Fixed printf format errors. Only one left in LINT on i386's.bde1998-08-241-25/+45
|
* Add support for PCNet PCI chips that only work when we talk to them as ISAmsmith1998-07-201-2/+19
| | | | | | | devices. Specifically fix the case for the Hitachi version as used in their VisionBook models. Submitted by: Ted Faber <faber@isi.edu>
* This commit fixes various 64bit portability problems required fordfr1998-06-071-3/+3
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Fix some bitrot in the multicast support, the move from TAILQ macros wasn't ↵paul1998-05-271-2/+2
| | | | implemented fully.
* This time add an Id string that'll actually get expanded :-)paul1998-05-271-1/+1
|
* Add an ID string (can't believe it never had one!)paul1998-05-271-0/+1
|
* Support compiling with `gcc -ansi'.bde1998-04-151-20/+22
|
* Removed unused #includes.bde1998-03-281-2/+0
|
* Correct an ethernet framesize mismatch that caused poorsteve1998-03-091-1/+1
| | | | | | | device performance among other things. PR: 4989, 5910 Submitted by: Yoshikazu Goto <gotoh@ae.anritsu.co.jp>
* Support C-NET(98)S ethernet card (PC-98 only).kato1998-02-101-0/+90
| | | | Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
* Back out DIAGNOSTIC changes.eivind1998-02-061-1/+0
|
* Turn DIAGNOSTIC into a new-style option.eivind1998-02-041-0/+1
|
* Make INET a proper option.eivind1998-01-081-1/+4
| | | | | | | | | | | | This will not make any of object files that LINT create change; there might be differences with INET disabled, but hardly anything compiled before without INET anyway. Now the 'obvious' things will give a proper error if compiled without inet - ipx_ip, ipfw, tcp_debug. The only thing that _should_ work (but can't be made to compile reasonably easily) is sppp :-( This commit move struct arpcom from <netinet/if_ether.h> to <net/if_arp.h>.
* Removed unused #includes.bde1997-07-201-7/+0
|
* Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card.kato1997-04-081-0/+3
| | | | | Cascade mode of DMA is disabled when PC98 is defined because PC-98 doesn't support it.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-131-26/+7
| | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* Convert the interface address and IP interface address structureswollman1996-12-131-1/+1
| | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable).
* Removed another devconf leftover. A fat devconf support function wasbde1996-09-141-61/+28
| | | | | | | | still being used just to support printing of the device name in the probe. Restored the method used in rev.1.6 and changed it to print the same strings as the previous revision. Reviewed by: Paul Richards
* Remove devconf, it never grew up to be of any use.phk1996-09-061-35/+14
|
* Megacommit to straigthen out ETHER_ mess.phk1996-08-061-3/+0
| | | | | I'm pretty convinced after looking at this that the majority of our drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
* Last night (local time :) I accidently checked in an intermediate versionse1996-07-191-85/+69
| | | | | | | | | | | | of this patch, which had not actually been reviewed by Joerg or Paul! (I'll better stop committing files after midnight ...) I'm now commiting the latest code, which has been reported to work. Minor correction to the previous commit message for this file: The first PCI Lance in a system will get a name of lnc1, the second will be known as lnc2 and so on. An arbitrary number of cards is supported in a system ...
* FINALLY: PCI support for the Lance Ethernet driver.se1996-07-181-73/+156
| | | | | | | | | | | | | | | | | | This code applies to several systems with integrated Ethernet chip, for example from HP or Compaq. It should also support PCI Ethernet cards based on the AMD PCI Lance chip. This code has been reviewed (visually) by Paul Richards and tested (using an ISA Lance board) by Joerg Wunsch. Since the parameters to nearly each and every single function had to be changed (generally from unit number to lnc_soft*), there is some potential for buglets having crept in ... BEWARE: If you had lnc0 configured to have the ISA probe find your PCI Lance, then it should now be found by the PCI probe, and should be automatically configured as pci1 (!!! note the "1"). Reviewed by: paul, joerg
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-251-0/+2
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Clean up -Wunused warnings.gpalmer1996-06-121-0/+2
| | | | Reviewed by: bde
* Clean up Ethernet drivers:wollman1996-02-061-10/+9
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* Restore my change to the watchdog params that Paul spammed in rev 1.18.dg1996-01-301-6/+5
|
* The last part of the ether_sprint -> %6D change.phk1996-01-261-2/+2
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Added multicast support, currently #ifdef LNC_MULTICAST.paul1996-01-051-14/+85
| | | | | Changed parameter of lnc_watchdog to match what upper levels expect, fixed a warning.
OpenPOWER on IntegriCloud