summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_devar.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-4/+2
| | | | | | | | | | | | | 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)
* Fix alignment requirements of tulip_rombuf by further increasingticso2003-06-131-4/+4
| | | | | | tulip_boardid size. Add a comment to tulip_rombuf about this requirement. I have had panics on alpha while probing a de card.
* Move some FALLTHROUGH comments so they work.phk2003-05-311-1/+1
| | | | | | | | Fix indentation error. Make boardid string long enough. Remove unused variable. Found by: FlexeLint
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-021-1/+1
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* No FreeBSD/vax here either.peter2001-11-031-1/+1
|
* Use bus_space for all register accesses.dfr2000-05-131-38/+20
|
* A little more tidying up.peter1999-08-091-23/+4
|
* Expand a heap of macros that obscure readability and are no longer neededpeter1999-08-091-67/+0
| | | | here, and do a bit of general tidy up.
* More pre-lite2 support zapped and some more tidy-up.peter1999-08-091-21/+1
|
* Unifdef -D__FreeBSD__ - and remove pre-lite2 support.peter1999-08-091-9/+3
|
* Unifdef -U__NetBSD__peter1999-08-091-78/+0
|
* Unifdef -U__bsdi__peter1999-08-091-49/+1
|
* s/Id/FreeBSD/peter1999-08-091-1/+2
|
* Strip __FreeBSD_version >= 300000 conditionals.peter1999-08-091-10/+2
|
* s/TULUP/TULIP/ - from vendor branch.peter1999-08-081-3/+3
|
* Rename bpfilter to bpf.des1999-07-061-3/+3
|
* Forgotten in previous commit:gallatin1999-05-261-2/+2
| | | | | | | | | Allow chipset drivers to specify the direct-mapped DMA window's mask in preparation for tsunami support. Previous chipsets' direct-mapped DMA mask was always 1024*1024*1024. The Tsunami chipset needs it to be 2*1024*1024*1024 Reviewed by: Doug Rabson <dfr@nlsystems.com>
* If this is going to have checks for kernel versions, it might as wellpeter1998-11-061-1/+13
| | | | do it so that it works. This code should run on 2.2.x now.
* Revert part of previous commit. vaddr_t doesn't exist on FreeBSD. Thispeter1998-10-141-2/+2
| | | | | didn't affect the x86 kernel due to #ifdefs. It broke FreeBSD/Alpha kernel compiles though.
* Update from NetBSD if_de.c 1.72 to 1.80. This is mostly bugfixes, andpeter1998-10-131-4/+6
| | | | | | | looks like it will have most effect on decoding device capabilities and configuration. Approved by: jkh
* Port de driver to alpha.dfr1998-09-161-3/+37
|
* Merge changes from vendor branch;peter1998-06-131-3/+3
| | | | | | | | - connector selection values (should fix aui/bnc), - non-shifting version of crc calculation using a table, - interrupt mask adjustments, - add some brackets where a #ifdef could break an if(), - don't reset the card unless it's up.
* Fixed pedantic semantics errors (bitfields not of type int, signed intbde1998-06-081-2/+2
| | | | | | | or unsigned int (this doesn't change the struct layout, size or alignment in any of the files changed in this commit, at least for gcc on i386's. Using bitfields of type u_char may affect size and alignment but not packing)).
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | 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.
* merge benfor branch changes onto mainline.peter1998-03-081-9/+81
|
* Merge 971020 stuff.. Check 21142? SROM CRC.peter1997-11-081-2/+3
|
* Merge in changes from Matt. Accton EN12xx support, bugfixes. There ispeter1997-10-181-1/+16
| | | | | | a change that might have an effect on the problems some have seen with older chips, it looks like the driver may have mistakenly thought there was an SIA when there isn't.
* malloc() the rx and tx descriptors seperately rather than as part of thepeter1997-09-111-1/+6
| | | | | | | | | | | | | | | | | | large (over 4KB) softc struct. The descriptor array is accessed by busmaster dma and must be physically contiguous in memory. malloc() of a block greater than a page is only virtually contiguous, and not necessarily physically contigious. contigmalloc() could do this, but that is a bit on the overkill side. I'm not sure of the origins of the problem report and diagnosis, I learned of the problem via mail forwarded from Jim Shankland <jas@flyingfox.com>. Jim said that Matt Thomas's workaround was to reduce the number of transmit descriptors from 128 to 32, but I was concerned that it might cost performance. Anyway, this change is my fault, not Jim's. :-) Reviewed by: davidg
* Import Matt's if_de driver 970703 release. This (apparently) supportspeter1997-08-031-6/+85
| | | | some newer Cogent (Adaptec) cards and has some other internal changes.
* Clean import of Matt Thomas's if_de.c driver as of 970508, rev 1.85. Thepeter1997-06-221-0/+967
slightly later one with optional if_media will be imported shortly as well. Obtained from: Matt Thomas via http://www.3am-software.com/
OpenPOWER on IntegriCloud