aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hea/eni.c
Commit message (Collapse)AuthorAgeFilesLines
* Now that we have the en(4) driver, we no longer need the hea driver.Warner Losh2003-12-071-697/+0
| | | | | | | Approved by: harti@ Notes: svn path=/head/; revision=123210
* Use __FBSDID().David E. O'Brien2003-08-241-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* - Turn the hea and hfa HARP storage pools into UMA zones and insertAndrew R. Reiter2002-06-141-2/+2
| | | | | | | | | | | | | | | | | | | the necesary uma_zcreate() and uma_zdestroy calls into module loading handler and the device attach handling. - Change the related HARP netatm code to use UMA zone functions when dealing with the zones that were formerly the ATM interface (hea, hfa) storage pools. - Have atm_physif_freenifs() now get passed an uma_zone_t so that we can properly free the allocated NIF's back to their zone. This should be the last commit to remove any code that makes use of the netatm storage pool api. I will be removing the api code within the near future. Reviewed by: mdodd Notes: svn path=/head/; revision=98223
* This actually compiles under lint now, by effectively #if 0'ing itAlfred Perlstein2002-06-111-5/+0
| | | | | | | | when compiling LINT, linking LINT was broke, so unbreak by removing the preprocessor directives. Notes: svn path=/head/; revision=98128
* Quick and dirty convert to newbus. (Eventually 'eni.c' should go away.)Matthew N. Dodd2002-06-031-14/+25
| | | | | | | | | | Module loads and unloads properly. Thanks to Richard Hodges <rh@matriplex.com> for donating the hardware to allow me to work on this driver. Notes: svn path=/head/; revision=97761
* - Remove KM_ macro calls and replace with the real function we're calling.Andrew R. Reiter2002-04-191-1/+1
| | | | | | | | | As a note, this driver needs the same updating as the hfa driver was just given; removing these macros since I will be nuking them from netatm. Notes: svn path=/head/; revision=95062
* Remove __P.Alfred Perlstein2002-03-201-8/+8
| | | | Notes: svn path=/head/; revision=92739
* Minor tweaks to get these to stop breaking LINT. They still dont workPeter Wemm2001-01-171-0/+9
| | | | | | | and emit warnings, but we need to get the test coverage elsewhere. Notes: svn path=/head/; revision=71136
* Add back some #include <sys/systm.h> which were needed when <sys/ktr.h>Poul-Henning Kamp2000-10-301-0/+1
| | | | | | | | | doesn't mess us up. Noted by: Harti Brandt <brandt@fokus.gmd.de> Notes: svn path=/head/; revision=68002
* Remove 86 unneeded #includesPoul-Henning Kamp2000-10-271-4/+0
| | | | Notes: svn path=/head/; revision=67731
* Remove unneeded #include <machine/clock.h>Poul-Henning Kamp2000-10-151-1/+0
| | | | Notes: svn path=/head/; revision=67164
* Remove even more nneeded #includes.Poul-Henning Kamp2000-10-141-18/+0
| | | | Notes: svn path=/head/; revision=67114
* Remove the #include kitchensink <netatm/kern_include.h> and addPoul-Henning Kamp2000-10-121-1/+40
| | | | | | | | | | | | the #includes to the respective source files. Also un-nest includes in <dev/hfa/fore_include.h> I have run src/tools/tools/kerninclude to remove 1239 clearly unneeded #includes reducing the total from 3524 includes to 2285. Notes: svn path=/head/; revision=67004
* Do some cleanups of the HARP atm codes interface into the system:Poul-Henning Kamp2000-10-121-6/+0
| | | | | | | | | | | Define the NETISR just like all the other NETISRs. unifdef -Usun -D__FreeBSD__ we will probably never support sun4c and if we do we can't use the solaris code anyway and I doubt anybody will be running Fore ATM cards in then in the first place. Notes: svn path=/head/; revision=66988
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Implement a new generic mechanism for attaching handler functions toMike Smith1999-08-211-6/+8
| | | | | | | | | | | | | | | | events, in order to pave the way for removing a number of the ad-hoc implementations currently in use. Retire the at_shutdown family of functions and replace them with new event handler lists. Rework kern_shutdown.c to take greater advantage of the use of event handlers. Reviewed by: green Notes: svn path=/head/; revision=50107
* Enable PCI bus master during attach in case the BIOS hasn't done it for us.Mike Spengler1999-05-101-47/+48
| | | | Notes: svn path=/head/; revision=46935
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:Peter Wemm1999-05-091-6/+2
| | | | | | | | | | | #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.) Notes: svn path=/head/; revision=46813
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tPeter Wemm1999-04-241-2/+6
| | | | | | | hurt the driver portability to 3.x too much for where drivers are shared. Notes: svn path=/head/; revision=46024
* probe function changed from returning char * to const char *.Matthew Dillon1998-12-141-4/+4
| | | | Notes: svn path=/head/; revision=41771
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-12-041-5/+7
| | | | | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com> Notes: svn path=/head/; revision=41514
* Trivial stylish changes, mostly to silence gcc.Poul-Henning Kamp1998-10-311-5/+5
| | | | | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk Notes: svn path=/head/; revision=40799
* Two patches from the HARP people:Poul-Henning Kamp1998-09-171-4/+4
| | | | | | | | | | | Various Makefile related fixes. -Wformat fixes. Submitted by: Mike Spengler <mks@networkcs.com> Notes: svn path=/head/; revision=39412
* Add new files for HARP3Poul-Henning Kamp1998-09-151-0/+664
Host ATM Research Platform (HARP), Network Computing Services, Inc. This software was developed with the support of the Defense Advanced Research Projects Agency (DARPA). Notes: svn path=/head/; revision=39232