diff options
author | imp <imp@FreeBSD.org> | 2001-05-19 05:21:23 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-05-19 05:21:23 +0000 |
commit | 19cf17e66bdb51d13bab00923578bca0d84b1767 (patch) | |
tree | c45081f7289aa2f5035db43efd349436e770e919 /sys/pccard/pcicvar.h | |
parent | 26885aebf5fdd5705ba9e5442caf61b733234219 (diff) | |
download | FreeBSD-src-19cf17e66bdb51d13bab00923578bca0d84b1767.zip FreeBSD-src-19cf17e66bdb51d13bab00923578bca0d84b1767.tar.gz |
Move ISA specific code into pcic_isa. This is the probe routine, the
get/setb1 routines. Also expose clrb and setb as pcic_{clrb,setb} so
we can use it from the probe. pcic_probe is no longer needed.
Diffstat (limited to 'sys/pccard/pcicvar.h')
-rw-r--r-- | sys/pccard/pcicvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pcicvar.h b/sys/pccard/pcicvar.h index fa38922..bc0dd34 100644 --- a/sys/pccard/pcicvar.h +++ b/sys/pccard/pcicvar.h @@ -47,7 +47,6 @@ struct pcic_softc extern devclass_t pcic_devclass; -int pcic_probe(device_t dev); int pcic_attach(device_t dev); int pcic_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r); @@ -65,4 +64,5 @@ int pcic_get_memory_offset(device_t bus, device_t child, int rid, u_int32_t *offset); int pcic_set_memory_offset(device_t bus, device_t child, int rid, u_int32_t offset, u_int32_t *deltap); - +void pcic_clrb(struct pcic_slot *sp, int reg, unsigned char mask); +void pcic_setb(struct pcic_slot *sp, int reg, unsigned char mask); |