pci_cfgreg.c (9b2b0822b7a3081fce7dbb774093e8429c6e42eb) | pci_cfgreg.c (e30f001135d8f835c2d750ae17c91268fa9d0bb2) |
---|---|
1/************************************************************************** 2** | 1/************************************************************************** 2** |
3** $Id: pcibus.c,v 1.25 1996/06/13 21:50:41 se Exp $ | 3** $Id: pcibus.c,v 1.26 1996/06/18 01:22:28 bde Exp $ |
4** 5** pci bus subroutines for i386 architecture. 6** 7** FreeBSD 8** 9**------------------------------------------------------------------------- 10** 11** Copyright (c) 1994 Wolfgang Stanglmeier. All rights reserved. --- 134 unchanged lines hidden (view full) --- 146#define CONF1_ENABLE 0x80000000ul 147#define CONF1_ENABLE_CHK 0x80000000ul 148#define CONF1_ENABLE_MSK 0x7ff00000ul 149#define CONF1_ENABLE_CHK1 0xff000001ul 150#define CONF1_ENABLE_MSK1 0x80000001ul 151#define CONF1_ENABLE_RES1 0x80000000ul 152 153#define CONF2_ENABLE_PORT 0x0cf8 | 4** 5** pci bus subroutines for i386 architecture. 6** 7** FreeBSD 8** 9**------------------------------------------------------------------------- 10** 11** Copyright (c) 1994 Wolfgang Stanglmeier. All rights reserved. --- 134 unchanged lines hidden (view full) --- 146#define CONF1_ENABLE 0x80000000ul 147#define CONF1_ENABLE_CHK 0x80000000ul 148#define CONF1_ENABLE_MSK 0x7ff00000ul 149#define CONF1_ENABLE_CHK1 0xff000001ul 150#define CONF1_ENABLE_MSK1 0x80000001ul 151#define CONF1_ENABLE_RES1 0x80000000ul 152 153#define CONF2_ENABLE_PORT 0x0cf8 |
154#ifdef PC98 155#define CONF2_FORWARD_PORT 0x0cf9 156#else |
|
154#define CONF2_FORWARD_PORT 0x0cfa | 157#define CONF2_FORWARD_PORT 0x0cfa |
158#endif |
|
155 156#define CONF2_ENABLE_CHK 0x0e 157#define CONF2_ENABLE_RES 0x0e 158 159static int 160pcibus_check (void) 161{ 162 u_char device; --- 360 unchanged lines hidden --- | 159 160#define CONF2_ENABLE_CHK 0x0e 161#define CONF2_ENABLE_RES 0x0e 162 163static int 164pcibus_check (void) 165{ 166 u_char device; --- 360 unchanged lines hidden --- |