summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
committerpeter <peter@FreeBSD.org>1999-07-03 20:17:08 +0000
commite5f4c63f137412a3f0691e64764e14569e7980db (patch)
tree2214af4f0dd363ebb3955ef6675f2e07918ae16b /sys/dev/sr
parent7afdd102ca81aa50337adf724b0a330ca4120544 (diff)
downloadFreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.zip
FreeBSD-src-e5f4c63f137412a3f0691e64764e14569e7980db.tar.gz
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.
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr_pci.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/sr/if_sr_pci.c b/sys/dev/sr/if_sr_pci.c
index a7d34e9..260f5ef 100644
--- a/sys/dev/sr/if_sr_pci.c
+++ b/sys/dev/sr/if_sr_pci.c
@@ -27,12 +27,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_sr_p.c,v 1.8 1999/04/24 20:14:01 peter Exp $
+ * $Id: if_sr_p.c,v 1.9 1999/05/09 17:06:59 peter Exp $
*/
-#include "pci.h"
-#if NPCI > 0
-
#include "sr.h"
#include <sys/param.h>
@@ -130,5 +127,3 @@ sr_pci_attach(pcici_t config_id, int unit)
return;
}
}
-
-#endif /* NPCI > 0 */
OpenPOWER on IntegriCloud