diff options
Diffstat (limited to 'sys/pci/ahc_pci.c')
| -rw-r--r-- | sys/pci/ahc_pci.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/ahc_pci.c b/sys/pci/ahc_pci.c index e7d54f9132486..344658de7a13d 100644 --- a/sys/pci/ahc_pci.c +++ b/sys/pci/ahc_pci.c @@ -34,7 +34,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahc_pci.c,v 1.4 1998/12/14 05:47:25 dillon Exp $ + * $Id: ahc_pci.c,v 1.1 1998/09/15 07:25:33 gibbs Exp $ */ #include <pci.h> @@ -55,7 +55,6 @@ #include <cam/cam.h> #include <cam/cam_ccb.h> #include <cam/cam_sim.h> -#include <cam/cam_xpt_sim.h> #include <cam/scsi/scsi_all.h> @@ -139,7 +138,7 @@ static u_int8_t read_brdctl(struct ahc_softc *ahc); static struct ahc_softc *first_398X; -static const char* ahc_pci_probe(pcici_t tag, pcidi_t type); +static char* ahc_pci_probe(pcici_t tag, pcidi_t type); static void ahc_pci_attach(pcici_t config_id, int unit); /* Exported for use in the ahc_intr routine */ @@ -155,7 +154,7 @@ static struct pci_device ahc_pci_driver = { DATA_SET (pcidevice_set, ahc_pci_driver); -static const char* +static char* ahc_pci_probe (pcici_t tag, pcidi_t type) { switch (type) { @@ -1173,6 +1172,7 @@ void ahc_pci_intr(struct ahc_softc *ahc) { u_int8_t status1; + pcici_t config_id; status1 = pci_cfgread(ahc->pci_config_id, PCIR_STATUS + 1, /*bytes*/1); |
