summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcic/i82365var.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-11-28 21:11:13 +0000
committerimp <imp@FreeBSD.org>1999-11-28 21:11:13 +0000
commitd2ef3b0fa085c1fa1e97986e1c9d0ddf51390bda (patch)
tree82840b50bf19e2c0ba1298210687873d0189ffe3 /sys/dev/pcic/i82365var.h
parentadae2d80cb4279c4c32d86cdc6c4d28cff604c38 (diff)
downloadFreeBSD-src-d2ef3b0fa085c1fa1e97986e1c9d0ddf51390bda.zip
FreeBSD-src-d2ef3b0fa085c1fa1e97986e1c9d0ddf51390bda.tar.gz
Add resource activation routines to pcic driver. Minor cleanup of
socket attach code. We now have at least a chance for pccard devices appearing in the future. This is a snapshot of ongoing work. Proceed at your own risk.
Diffstat (limited to 'sys/dev/pcic/i82365var.h')
-rw-r--r--sys/dev/pcic/i82365var.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/dev/pcic/i82365var.h b/sys/dev/pcic/i82365var.h
index cb3bc76..6ff9671 100644
--- a/sys/dev/pcic/i82365var.h
+++ b/sys/dev/pcic/i82365var.h
@@ -120,8 +120,6 @@ struct pcic_softc {
/* XXX isa_chipset_tag_t, pci_chipset_tag_t, etc. */
void *intr_est;
- pccard_chipset_tag_t pct;
-
/* this needs to be large enough to hold PCIC_MEM_PAGES bits */
int subregionmask;
#define PCIC_MAX_MEM_PAGES (8 * sizeof(int))
@@ -151,7 +149,7 @@ int pcic_vendor __P((struct pcic_handle *));
char *pcic_vendor_to_string __P((int));
void pcic_attach(device_t dev);
-void pcic_attach_sockets __P((struct pcic_softc *));
+void pcic_attach_sockets(device_t dev);
int pcic_intr __P((void *arg));
int pcic_chip_mem_alloc __P((pccard_chipset_handle_t, bus_size_t,
@@ -207,3 +205,11 @@ pcic_write(h, idx, data)
(*(h)->ph_write)((h), (idx), (data))
#endif
+
+/*
+ * bus/device/etc routines
+ */
+int pcic_activate_resource(device_t dev, device_t child, int type, int rid,
+ struct resource *r);
+int pcic_deactivate_resource(device_t dev, device_t child, int type, int rid,
+ struct resource *r);
OpenPOWER on IntegriCloud