summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc
Commit message (Collapse)AuthorAgeFilesLines
* Universally adopt most conventional spelling of acquire.rwatson2007-05-271-1/+1
|
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningrwatson2006-11-062-1/+8
| | | | | | | | | | | | | specific privilege names to a broad range of privileges. These may require some future tweaking. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov <umka at sevcity dot net>, Skip Ford <skip dot ford at verizon dot net>, Antoine Brodin <antoine dot brodin at laposte dot net>
* The contents pointed by ssi_cables[] is never changed so explicitlydelphij2006-07-211-1/+1
| | | | | | | declare it as const char * instead of char *. This change have no side impact to the code itself, and is a step forward to WARNS=6 truss(1).
* Cleanup: Use if_initname to set if_dname, if_dunit, and if_xname insteadbrooks2006-07-151-3/+1
| | | | of doing it by hand.
* add missed calls to bpf_peers_presentsam2006-06-021-1/+1
|
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | unnecessary.
* Fix -Wundef warnings found when compiling i386 LINT, GENERIC andru2005-12-052-39/+39
| | | | custom kernels.
* Fix -Wundef from compiling the amd64 LINT.ru2005-12-041-58/+60
|
* - Don't include opt_global.h, it is always included implicitly.glebius2005-10-051-1/+3
| | | | - Include opt_device_polling.h
* For some utterly bizarre reason, sparc64 coerces PAGE_SIZE to be a longscottl2005-10-041-2/+3
| | | | | | instead of an int. No other FreeBSD architecture does this. Patch over this problem in the lmc driver. While I'm here, correct a mistake with DEVICE_POLLING.
* Reintroduce the lmc T1/E1/T3 WAN driver. This version is locked, supportsscottl2005-10-032-0/+8713
| | | | | | | | | | | interface polling, compiles on 64-bit platforms, and compiles on NetBSD, OpenBSD, BSD/OS, and Linux. Woo! Thanks to David Boggs for providing this driver. Altq, sppp, netgraph, and bpf are required for this driver to operate. Userland tools and man pages will be committed next. Submitted by: David Boggs
* Continue to remove drivers that don't compile and haven't compiled inimp2003-12-076-3829/+0
| | | | | | | | | | a long time: lmc The LAN Media Corp PCI WAN driver based on tulip. This driver hasn't compiled for 3 years since the PCI compat shims were removed, and Lan Media appears to have gone out of business. These cards appear to be rare (a recent search of ebay had no hits). Should someone wish to revive this driver, submitting patches to make it compile plus a testing report will bring it back.
* Use __FBSDID().obrien2003-08-244-4/+12
| | | | Also some minor style cleanups.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-1/+1
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Back out M_* changes, per decision of the TRB.imp2003-02-191-7/+7
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-7/+7
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Remove #include <pci.h> - there is no abuse of NPCI herepeter2002-07-211-1/+0
|
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-026-6/+6
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-041-2/+2
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* Fix typo: seperate -> separate.asmodai2001-02-061-1/+1
| | | | Seperate does not exist in the english language.
* Minor tweaks to get these to stop breaking LINT. They still dont workpeter2001-01-172-0/+10
| | | | and emit warnings, but we need to get the test coverage elsewhere.
* lmc_ifup() was not checking the state of the interface. This wouldarchie2001-01-101-3/+8
| | | | | | | | | cause the watchdog to (incorrectly) detect the interface state going from down to up one second after lmc_ifup() was called, causing lmc_ifup() to be called again, and resetting everything. Fix by checking the interface state within lmc_ifup(). Submitted by: Darren Croke <djc@packetdesign.com>
* Part 2 of the netgraph rewrite.julian2001-01-081-17/+16
| | | | | | This is mostly cosmetic changes, (though I caught a bug or two while makeing them) Reviewed by: archie@freebsd.org
* Rewrite of netgraph to start getting ready for SMP.julian2001-01-061-20/+50
| | | | | | | | This version is functional and is aproaching solid.. notice I said APROACHING. There are many node types I cannot test I have tested: echo hole ppp socket vjc iface tee bpf async tty The rest compile and "Look" right. More changes to follow. DEBUGGING is enabled in this code to help if people have problems.
* Divorce the kernel binary ABI version number from the messagejulian2000-12-181-11/+5
| | | | | | | | | format version number. (userland programs should not need to be recompiled when the netgraph kernel internal ABI is changed. Also fix modules that don;t handle the fact that a caller may not supply a return message pointer. (benign at the moment because the calling code checks, but that will change)
* Reviewed by: Archie@freebsd.orgjulian2000-12-121-3/+6
| | | | | | | | | | | | | This clears out my outstanding netgraph changes. There is a netgraph change of design in the offing and this is to some extent a superset of soem of the new functionality and some of the old functionality that may be removed. This code works as before, but allows some new features that I want to work with and evaluate. It is the basis for a version of netgraph with integral locking for SMP use. This is running on my test machine with no new problems :-)
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-082-4/+2
| | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-252-11/+16
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* Devices that are running at splimp MUST use ng_queue_data()julian2000-11-211-2/+1
| | | | | | | | | instead of ng_send_data(). The latter could lead to running the IP stack at splimp instead of splnet, (among other problems) (that MAY be safe but I wouldn't count on it). Noticed while preparing a new set of netgraph stuff.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Adjust to accomodate recent changes to the rcvdata and rcvmsgarchie2000-05-011-4/+6
| | | | function prototypes.
* Driver for DEC "Tulip" based WAN cards from LanMedia Corporation.phk2000-04-266-569/+601
| | | | | | | | | | | | This driver should support both the SSI (V.35 etc) E1/T1 unchannelized, DS3 and HSSI cards. Only tested on the SSI card. More info at: http://www.lanmedia.com Thanks to LanMedia for donating two LMC1000P cards. if_de.c driver modified by: LanMedia NetGraphification by: Stephen Kiernan <sk-ports@vegamuse.org>
* LanMedias driver sources for the LMC1000 and similar cards.phk2000-04-266-0/+3746
Does not yet compile yet.
OpenPOWER on IntegriCloud