summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-18 23:52:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-18 23:52:46 +0000
commitfc877ee58f6d572a9d70bda817ee14104bfc83f6 (patch)
tree642c23942ed1feb3ae61f2fb1393da1adcf0592e /sys/arch/hppa/include
parentd39e07d3103f88f7d4e66509e3a5d4db23f6afe8 (diff)
newer machines use phantom bus to attach lasi and other bus adapters.
oledr machines did not have a real device for the phantom bus port. change the device scanning technique to both include a full device path in the attach_args and do proper shifting in the pdc_scanbus() and add a device for the newer machines as well as use a newer device mapping (path to hpa) available on newer firmware versions, where old (hversion-dependant) is not available. tested on 712,715/33,c110, miod@ ok, weissmandude -- testing
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/autoconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/autoconf.h b/sys/arch/hppa/include/autoconf.h
index b898d09d293..9e6322c19bc 100644
--- a/sys/arch/hppa/include/autoconf.h
+++ b/sys/arch/hppa/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.16 2002/12/17 21:54:25 mickey Exp $ */
+/* $OpenBSD: autoconf.h,v 1.17 2002/12/18 23:52:45 mickey Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -36,7 +36,7 @@
struct confargs {
const char *ca_name; /* device name/description */
bus_space_tag_t ca_iot; /* io tag */
- int ca_mod; /* module number on the bus */
+ struct device_path ca_dp; /* device_path as found by pdc_scan */
struct iodc_data ca_type; /* iodc-specific type descrition */
hppa_hpa_t ca_hpa; /* module HPA */
hppa_hpa_t ca_hpamask; /* mask for modules on the bus */
@@ -66,7 +66,7 @@ extern void (*cold_hook)(int);
struct device;
const char *hppa_mod_info(int, int);
-void pdc_scanbus(struct device *, struct confargs *, int bus, int);
+void pdc_scanbus(struct device *, struct confargs *, int);
int mbprint(void *, const char *);
int mbsubmatch(struct device *, void *, void *);
void *cpu_intr_map(void *v, int pri, int irq, int (*handler)(void *),