summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/oltr
Commit message (Collapse)AuthorAgeFilesLines
* Since if_oltr doesn't contain locking or run with INTR_MPSAFE, markrwatson2004-08-141-1/+1
| | | | the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
* Add missing #include <sys/module.h>phk2004-05-301-0/+1
|
* Eliminate support for FreeBSD 3.x and earlier now that we're in theimp2004-03-291-203/+0
| | | | glide path for the 5.x branch.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-1/+1
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* 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)
* Prefer new location of pci include files (which have only been in theimp2003-08-221-0/+5
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Broke the warning that this driver uses pessimal (u_short) types forbde2003-08-061-2/+2
| | | | | | i/o ports by calling the implementation-detail level below inb() and outb() instead of inb() and outb(). Unpessimizing the types is too hard since they are mainly used in microcode.
* Catch up with recent infrastructure changes.mdodd2003-03-161-5/+0
|
* Register module dependencies.mdodd2003-03-151-0/+2
|
* G/C unused varilable.mdodd2003-03-151-1/+1
|
* Catch up with recent changes.mdodd2003-03-151-36/+5
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-4/+4
| | | | Approved by: trb
* Consolidate MIN/MAX macros into one place (param.h).alfred2003-02-021-1/+0
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* 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 and link layer changes:sam2002-11-151-4/+9
| | | | | | | | | | | | o on input don't strip the Ethernet header from packets o input packet handling is now done with if_input o track changes to ether_ifattach/ether_ifdetach API o track changes to bpf tapping o call ether_ioctl for default handling of ioctl's o use constants from net/ethernet.h where possible Reviewed by: many Approved by: re
* Do only call oltr_stop() if we are not already in OL_STOPPED state.joerg2001-06-141-3/+14
| | | | | | | | | | This avoids a null pointer deref panic in TRlldClose() inside the vendor-supplied object code. It's now possible to unload the driver at all. Implement deallocation of malloc()ed memory regions. MFC after: 2 months
* Move configuration of work_memory to oltr_init() rather thanmdodd2001-03-081-43/+24
| | | | | | | | oltr_pci_attach(). This only affects the OC-3139 and OC-3540. MFC candidate. PR: kern/24074
* Convert more malloc+bzero to malloc+M_ZERO.dwmalone2000-12-081-2/+1
| | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net>
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* o Change TX_BUFFER_LEN from 512 to 2048.lile2000-10-101-6/+11
| | | | | | | | | | | | o Remove bogus "spurious interrupt" message. o Ring buffer head and avail were incorrectly calculated. o Fix fragment count. o Fix ring entry for single station, default to 16Mbit. o Don't complain about long frames.
* Fix a reference to an old FreeBSD 2.2 register name.peter2000-05-281-3/+3
| | | | s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/
* o Get basic if_media support working.lile2000-03-261-295/+272
| | | | | | | o Add more diagnostic and status messages. o General clean up of old debug messages and small style fixes.
* o Fix typo in the RapidFire 3540 adapter namelile2000-03-191-3/+3
| | | | | | | | | 4/16/100 -> 100/16/4 so that it matches all of the others. o Since we went to all the trouble of getting the correct working memory size actually use it. * Submitted by: Nikolai Saoukh <nms@otdel-1.org>
* o Replace the old "oltr" driver with the completely re-writtenlile2000-03-185-7136/+9210
| | | | | | | | | | | new-bus Olicom driver, previously known as "ol". The new driver unfortunately does not support ISA cards yet. o Update the microcode files, interface library and include files to the latest PowerMACH works version. Force even byte alignment of adapter microcode. o Roll in some of the patches from Nikolai Saoukh <nms@ethereal.ru>.
* Remove a somewhat odd #if that is always true (NOLTR will be alwayspeter2000-01-291-4/+0
| | | | 1 or more if this file is being compiled)
* Garbage collect oltr_pci_shutdowneivind1999-12-211-11/+0
|
* Fix a stray (ifdef'ed) reference to a non-existing file.peter1999-11-291-4/+0
|
* 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.
* Clean $Log$ debris.peter1999-09-061-2/+1
|
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* Update to latest version of PowerMACH Works from Olicom.lile1999-07-055-5135/+5170
|
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-5/+1
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-241-1/+5
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* As I understand it, these register_intr()'s shouldn't be here. The isapeter1999-04-211-3/+1
| | | | driver attaches the interupt itself.
* Need to include /contrib/dev/oltr/... not dev/oltr/...julian1999-03-101-2/+2
|
* Submitted by: Larry Lilejulian1999-03-107-0/+10211
Move the Olicom token ring driver to the officially sanctionned location of /sys/contrib. Also fix some brokenness in the generic token ring support. Be warned that if_dl.h has been changed and SOME programs might like recompilation.
OpenPOWER on IntegriCloud