Yoshihiro Takahashi
d4fcf3cba5
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386
...
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
2005-05-29 04:42:30 +00:00
Warner Losh
d2b677bb1a
Use BUS_PROBE_DEFAULT in preference to 0 and BUS_PROBE_LOW_PRIORITY in
...
preference to some random negative number to allow other drivers a
bite at the apple.
2005-03-01 08:58:06 +00:00
Warner Losh
098ca2bda9
Start each of the license/copyright comments with /*-, minor shuffle of lines
2005-01-06 01:43:34 +00:00
Poul-Henning Kamp
fe12f24bb0
Add missing <sys/module.h> includes
2004-05-30 20:08:47 +00:00
David E. O'Brien
42af95a3c2
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 18:17:24 +00:00
Warner Losh
90cf0136c4
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 07:08:17 +00:00
John Hay
d8422795fa
Use bus_space*() instead of in*() and out*().
2003-04-23 20:22:32 +00:00
Matthew N. Dodd
f246e4a17f
- Express hard dependencies on bus (pci, isa, pccard) and
...
network layer (ether).
- Don't abuse module names to facilitate ifconfig module loading;
such abuse isn't really needed. (And if we do need type information
associated with a module then we should make it explicit and not
use hacks.)
2003-04-15 06:37:30 +00:00
John Hay
1a3d993a0b
Newbusify the sr device and move it to its new location.
2001-01-30 10:02:10 +00:00
Peter Wemm
8c2956e18d
Special case for compiling LINT - just give a warning and continue on.
...
At least we have a chance at getting test compile coverage for the rest
of the kernel now.
2001-01-17 00:47:46 +00:00
Warner Losh
d0d3b8345b
Ahhrggg. Put the test for the compat shims AFTER the file that includes
...
them.
Pointed out by: bde
2000-03-27 20:24:02 +00:00
Warner Losh
76fbc068b8
Per conversations in -current, add #error to these drivers when you don't
...
have the right compatibility shims enabled. ISA drivers to follow later.
2000-03-27 18:32:45 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Peter Wemm
9929d2a045
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire
...
files. config will leave the whole file out if configured to do so.
1999-07-03 20:17:08 +00:00
Peter Wemm
579f45fa60
Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
...
#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.)
1999-05-09 17:07:30 +00:00
Peter Wemm
96b3554e5c
Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't
...
hurt the driver portability to 3.x too much for where drivers are shared.
1999-04-24 20:17:05 +00:00
Matthew Dillon
2cbe36f725
probe function changed from returning char * to const char *.
1998-12-14 06:37:37 +00:00
Eivind Eklund
303b270b0a
Staticize.
1998-02-09 06:11:36 +00:00
Bruce Evans
e4ba6a82b0
Removed unused #includes.
1997-09-02 20:06:59 +00:00
Peter Wemm
6875d25465
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
...
ready for it yet.
1997-02-22 09:48:43 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
John Hay
0c064d6185
Oops I forgot to add the official id for this card.
1996-11-13 18:06:52 +00:00
John Hay
ebcdcb982a
Add support for the SDL RISCom N2pci cards. Bring in the enhancements
...
made to the Arnet driver.
1996-10-29 03:53:21 +00:00