summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard_nbk.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-01-07 16:31:09 +0000
committerimp <imp@FreeBSD.org>2001-01-07 16:31:09 +0000
commitc64a2be70fb083f28ff734c23b53a9d6d264e808 (patch)
treebde7ab282a3b36cdf8309a3774fdb016367fb677 /sys/pccard/pccard_nbk.c
parenteef51d569a6dd444550e78d6c2ae6c04a585ce03 (diff)
downloadFreeBSD-src-c64a2be70fb083f28ff734c23b53a9d6d264e808.zip
FreeBSD-src-c64a2be70fb083f28ff734c23b53a9d6d264e808.tar.gz
o Now that I've had time to test the new interface, reintegrate it back in.
o Fix OLDCARD to use the new interface. o Rename the offsetp argument to deltap to more closely reflect what it is returning (it returns the delta from the requested value to the actual value). o Remove duplicate $FreeBSD$ in pccbb.c o Allow deltap to be NULL. o Convert new isa pcic driver and add XXX comments that this function isn't actually implemented there (which means that NEWCARD pccard stuff won't work there until it is). o Revert attempts to make old inferface work in NEWCARD. Subitted by: peter (Parts of the new version code)
Diffstat (limited to 'sys/pccard/pccard_nbk.c')
-rw-r--r--sys/pccard/pccard_nbk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c
index 2d951f0..40cb7d8 100644
--- a/sys/pccard/pccard_nbk.c
+++ b/sys/pccard/pccard_nbk.c
@@ -305,10 +305,10 @@ pccard_get_res_flags(device_t bus, device_t child, int restype, int rid,
static int
pccard_set_memory_offset(device_t bus, device_t child, int rid,
- u_int32_t offset)
+ u_int32_t offset, u_int32_t *deltap)
{
return CARD_SET_MEMORY_OFFSET(device_get_parent(bus), child, rid,
- offset);
+ offset, deltap);
}
static int
OpenPOWER on IntegriCloud