aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hfa/fore_command.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedRobert Watson2008-05-251-466/+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
* 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-2/+2
| | | | | | | | | | 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-5/+6
| | | | | | | | | 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
* Make the driver to work with firmware version 4.1.12 (other 4.X.Y shouldHartmut Brandt2003-07-311-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | also do it). Three problems have been encountered: 1. The initialisation command does not work in interrupt mode. Whether this is a firmware bug or a feature is not clear. The original Fore drivers execute the initialize command always in polling mode, so it appears that this behaviour is expected. When we detect a 4.X.Y firmware do busy wait on the command status. 2. The command code of the GET_PROM command has changed. This is an unofficial command anyway. What was GET_PROM in 3.X.Y is CLEAR_STATS in 4.X.Y (although unimplemented in the firmware). We need to use the correct code depending on the firmware. 3. The 4.X.Y firmware can set the error flag in the command status without also setting the completion flag (as the documenation says). Check both variants. An additional field in the per-card structure fu_ft4 is TRUE when we have detected a 4.X.Y firmware. Otherwise it is false. The behaviour of the driver when using a 3.X.Y firmware should be identical to the previous behaviour. This change will enable traffic shaping of (at least one) CBR channels. Notes: svn path=/head/; revision=118264
* More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).Dag-Erling Smørgrav2003-03-021-2/+2
| | | | Notes: svn path=/head/; revision=111748
* - Remove DMA_* macros as only one, DMA_GET_ADDR, was used.Andrew R. Reiter2002-06-241-12/+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
* 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 even more unneeded #includes.Poul-Henning Kamp2000-10-141-19/+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
* More HARP polishina:Poul-Henning Kamp2000-10-121-6/+0
| | | | | | | | unifdef -UFORE_SBUS -DFORE_PCI s/ATM_KERNEL/_KERNER/g Notes: svn path=/head/; revision=67002
* $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
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-12-041-3/+4
| | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | 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/+5
| | | | | | | | | | | 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/+445
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