aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hfa/fore_output.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedRobert Watson2008-05-251-479/+0
| | | | | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti Notes: svn path=/head/; revision=179308
* Stop embedding struct ifnet at the top of driver softcs. Instead theBrooks Davis2005-06-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam Notes: svn path=/head/; revision=147256
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-061-1/+1
| | | | Notes: svn path=/head/; revision=139749
* Unbreak after the change to use vm_paddr_t. Since vm_paddr_t isMaxime Henrion2004-02-221-1/+1
| | | | | | | | | | an integer type and the a cast to (void *) was added in the definition of NULL for the kernel, we need to use 0 here instead. Partly submitted by: cperciva Notes: svn path=/head/; revision=126122
* Use the more appropriate vm_paddr_t in places where a physicalHartmut Brandt2004-02-211-2/+2
| | | | | | | | | address for DMA is handled instead of pointers. Submitted by: Joerg Sonneberger <joerg@britannica.bec.de> Notes: svn path=/head/; revision=126075
* Prefer new location of pci include files (which have only been in theWarner Losh2003-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. Notes: svn path=/head/; revision=119280
* Implement a traffic shaping option for the PCA200 for CBR channels.Hartmut Brandt2003-07-311-1/+1
| | | | | | | | | | | This is controlled by a per-adapter sysctl hw.atm.hfaX.shape. When set to 0, no shaping occures. When set to 1 at most 1 channel is shaped. When set to 2 all CBR channels are shaped. Note, that the latter may actually not work, because of the adapter supporting the shaping of only one PDU at the same time. Notes: svn path=/head/; revision=118266
* Adjust some casts to quiet warnings.John Baldwin2002-11-061-1/+1
| | | | | | | Reviewed by: mdodd Notes: svn path=/head/; revision=106540
* - Remove DMA_* macros as only one, DMA_GET_ADDR, was used.Andrew R. Reiter2002-06-241-2/+1
| | | | | | | | - Convert DMA_GET_ADDR() calls to vtophys() calls in order to finish removing the DMA_* macros. Notes: svn path=/head/; revision=98721
* Change two KM_COPY()s to bcopy(). This should have been done when theMike Barcroft2002-04-201-1/+1
| | | | | | | KM_* macros were removed. Notes: svn path=/head/; revision=95147
* Remove __P.Alfred Perlstein2002-03-201-3/+3
| | | | Notes: svn path=/head/; revision=92739
* 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-1/+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 unneeded #includes.Poul-Henning Kamp2000-10-141-20/+0
| | | | Notes: svn path=/head/; revision=67119
* Remove the #include kitchensink <netatm/kern_include.h> and addPoul-Henning Kamp2000-10-121-0/+47
| | | | | | | | | | | | 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
* Ensure that DMA mappings are freed in error situations.Mike Spengler2000-01-151-7/+46
| | | | Notes: svn path=/head/; revision=56064
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-2/+2
| | | | Notes: svn path=/head/; revision=50477
* Fix warnings preparing for -Wall -Wcast-qualMatthew Dillon1999-01-271-3/+3
| | | | | | | | Also disable one usb module in LINT due to fatal compilation errors, temporary. Notes: svn path=/head/; revision=43295
* Trivial stylish changes, mostly to silence gcc.Poul-Henning Kamp1998-10-311-4/+4
| | | | | | | | Reviewed by: Mike Spengler <mks@networkcs.com> Submitted by: phk Notes: svn path=/head/; revision=40799
* Add new files for HARP3Poul-Henning Kamp1998-09-151-0/+415
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