summaryrefslogtreecommitdiffstats
path: root/sys/dev/ie
Commit message (Collapse)AuthorAgeFilesLines
* Use [u]intptr_t instead of [unsigned] long to convert and/or representbde1998-08-101-10/+14
| | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC.
* Fixed the formatting of some tables (mainly the one produced by psbde1998-08-101-3/+3
| | | | | | | | | | in ddb) which I broke by changing %8[l]x to %8p. Hacked the central printf routine to not add an "0x" prefix for %p formats if the field width is nonzero. The tables are still horribly misformatted on 64-bit machines. Use %p instead of %8p to print pointers when the field width isn't important.
* Fixed printf format errors (only 1 left in GENERIC now).bde1998-07-131-10/+11
|
* 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.
* Support compiling with `gcc -ansi'.bde1998-04-151-10/+10
|
* Removed unused #includes.bde1998-03-281-3/+1
|
* Staticize.eivind1998-02-091-6/+6
|
* 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>.
* Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.eivind1997-12-151-1/+2
| | | | | | | | The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and ifconfig.c only). I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code inside, as it never could have compiled - doh.)
* Hide a silly ``unknown board type'' message behind bootverbose. Thejoerg1997-10-151-3/+4
| | | | ``ie0: not found'' message is sufficient as a default.
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-09-211-3/+5
| | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support.
* Added used #include - don't depend on <sys/mbuf.h> includingbde1997-09-021-1/+2
| | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
* Removed unused #includes.bde1997-07-201-10/+1
|
* KNF cleanup.gibbs1997-06-271-1585/+1593
|
* Several bug fixes for the ee16 support from Richard Straka:gibbs1997-05-211-86/+111
| | | | | | | | | | | | | | | | | | | | | | | 1) Adjust NFRAMES from 16 to 8 per 16k of memory. 2) Acknowledge interrupts to the card early in the interrupt handler before processing the event that caused the interrupt. This frees the card to process addtional events instead of waiting for the driver to finish handling events. 3) Changed the initialization of the transmit buffers to be a loop so that the number of buffers can be more easily changed. 4) Moved the code to take the adapter out of loop back mode to just before we enable the receiver. I also made the driver dynamically size its resource arrays at attach time so that we can take full advantage of adapters with more than 16k of memory. Richard has some other changes he's working on to improve performance, but this should get ee16 support working reliably again. Thanks to Wes Santee <wes@bogon.net> for testing these patches. Submitted by: Richard Straka <straka@user1.inficad.com>
* New name for the EtherExpress register file.gibbs1997-04-141-0/+80
|
* Add Intel EtherExpress16 support into the ie driver, removing the needgibbs1997-04-141-100/+496
| | | | | | | | | | for the ix driver. Add a shutdown hook that resets the etherexpress so that Windoze can find the card after a warm boot. Submitted by: Aaron Smith <aaron@tau.veritas.com> Obtained From: NetBSD
* Don't include <sys/ioctl.h> in the kernel. Stage 2: includebde1997-03-241-2/+2
| | | | <sys/sockio.h> instead of <sys/ioctl.h> in network files.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-223-3/+3
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-131-24/+20
| | | | | | | 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).
* Remove devconf, it never grew up to be of any use.phk1996-09-061-26/+1
|
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-251-1/+2
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Removed unused #includes of <i386/isa/icu.h> and <i386/isa/icu.h>. icu.hbde1996-06-181-3/+1
| | | | | | | is only used by the icu support modules and by a few drivers that know too much about the icu (most only use it to convert `n' to `IRQn'). isa.h is only used by ioconf.c and by a few drivers that know too much about isa addresses (a few have to, because config is deficient).
* Clean up Ethernet drivers:wollman1996-02-061-36/+16
| | | | | | | | - 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
* The last part of the ether_sprint -> %6D change.phk1996-01-261-5/+5
| | | | | Sorry for the delay. (%D is for hexdumping.)
* Staticize and cleanup.phk1995-12-101-5/+6
|
* all:dg1995-12-051-3/+1
| | | | | | | | | | | | | | | | Removed ifnet.if_init and ifnet.if_reset as they are generally unused. Change the parameter passed to if_watchdog to be a ifnet * rather than a unit number. All of this is an attempt to move toward not needing an array of softc pointers (which is usually static in size) to point to the driver softc. if_ed.c: Changed some of the argument passing to some functions to make a little more sense. if_ep.c, if_vx.c: Killed completely bogus use of if_timer. It was being set in such a way that the interface was being reset once per second (blech!).
* Fixed the type of a timeout function.bde1995-11-181-2/+8
| | | | Added prototypes.
* Reviewed by: julian and jhay@mikom.csir.co.zajulian1995-10-261-1/+28
| | | | | | | | | | | | | | | | | | | | | Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com
* Say goodbye to IFF_NOTRAILERS. Support for trailers was officiallywollman1995-10-131-4/+2
| | | | | dropped for 4.4, but for some reason this flag lived on. (Until today, that is.)
* Fix benign type mismatches in isa interrupt handlers. Many returned intbde1995-09-191-4/+2
| | | | instead of void.
* Make everything except the unsupported network sources compile cleanlybde1995-08-161-2/+2
| | | | with -Wnested-externs.
* Remove trailing whitespace.rgrimes1995-05-301-49/+49
|
* Add a class field to devconf and mst drivers.wollman1995-04-121-6/+8
| | | | | | | | | | | | For those where it was easy, drivers were also fixed to call dev_attach() during probe rather than attach (in keeping with the new design articulated in a mail message five months ago). For a few that were really easy, correct state tracking was added as well. The `fd' driver was fixed to correctly fill in the description. The CPU identify code was fixed to attach a `cpu' device. The code was also massively reordered to fill in cpu_model with somethingremotely resembling what identifycpu() prints out. A few bytes saved by using %b to format the features list rather than lots of ifs.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-281-1/+3
| | | | | (except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
* Removed redundant newlines that were in some panic strings.dg1995-03-191-2/+2
|
* Move ARP interface initialization into if_ether.c:arp_ifinit().wollman1994-12-221-4/+2
|
* Moved conversion of ether_type to host byte order out of ethernet driversdg1994-11-241-3/+1
| | | | | | and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
* Fixed a couple of wrong printfs (too few arguments supplied). Also zappedphk1994-10-261-5/+3
| | | | | a couple of unused vars at the same time. Added a #include <sys/proc.h> to isa.c while here anyway.
* Finished device configuration database work for all ISA devices (except `ze')wollman1994-10-231-5/+10
| | | | | | | | | | | | | and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit).
* Add support for devconf to a large number of device drivers, and dowollman1994-10-191-1/+20
| | | | the right thing in dev_goawayall() when kdc_goaway is null.
* unifdef -DMULTICAST, since multicast support is always enabled in 4.4.wollman1994-09-071-20/+1
|
* Reviewed by:ats1994-09-051-4/+68
| | | | | | | | Add initialization to the if_ie driver for the Micom Interlan NI5210 card. This is a very old 82586 based card with only 8Kb or 16Kb on board memory. Also only 8-bit wide instead of 16-bit like the AT& or 3COM card. Warning: this thing is only tested so far that it detects all bits correctly but is not yet on an ethernet. Will do that tomorrow.
* Reviewed by:ats1994-09-021-1/+3
| | | | | | Submitted by: Put the printf("can't map 3c507 ram.. into an ifdef DEBUG. This will confuse only normal users and the ie0 found/not found is sufficient.
* Reviewed by:ats1994-09-021-2/+2
| | | | | | | | | | | | | | | | | | | Submitted by: 1) if_ie.c: Changed a printf and put a space in it. Formerly the "<3C507>" confused the syslog. He tried to see that as the priority to log that message. 2) isa_device.h: Changed the iobase variable from short to u_short. EISA Adresses can go up to 0xf000 and the sign extension doesn't look good in the probe output. Example: ep1 at 0xffff8000-0xffff8000f is not good :-), i like more a ep1 at 0x8000-0x8000f. 3) isa.c: Changed a string constant from "probe" to "prob", it gets later already an "ed" tagged on the end.
* Add Charles Martin Hannum to copyright notice so he can stop whining andwollman1994-08-251-101/+109
| | | | | | find something useful to do other than taking credit for other people's work. Also make the 3C507 bits match the indentation style of the rest of the code.
* Reviewed by:ats1994-08-242-3/+154
| | | | | | | | | Submitted by: Add the 3com 3C507 card to the if_ie.c driver. The files elink.c and elink.h are helding routines that are shared between the 3C507 and the 3C509/3C579. if_ie507.h are constant declarations unique to the 3C507. The code is based on the NetBSD driver if_ie.c donated to NetBSD by Rafal Boni and then modified by Charles Hannum.
* Change all #includes to follow the current Berkeley style. Some of thesewollman1994-08-131-28/+28
| | | | | | | | | | | | | | | | | | | | | ``changes'' are actually not changes at all, but CVS sometimes has trouble telling the difference. This also includes support for second-directory compiles. This is not quite complete yet, as `config' doesn't yet do the right thing. You can still make it work trivially, however, by doing the following: rm /sys/compile mkdir /usr/obj/sys/compile ln -s M-. /sys/compile cd /sys/i386/conf config MYKERNEL cd ../../compile/MYKERNEL ln -s /sys @ rm machine ln -s @/i386/include machine make depend make
* Add missing ifr variable declaration that I forgot when adding MTUdg1994-08-121-3/+4
| | | | ioctl support.
OpenPOWER on IntegriCloud