aboutsummaryrefslogtreecommitdiff
path: root/sys/pccard/pccard_nbk.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-01-07 16:31:09 +0000
committerWarner Losh <imp@FreeBSD.org>2001-01-07 16:31:09 +0000
commit486d464d74f6eae01b67011ee8b84c1e3b652c1b (patch)
tree4a06bb96014471074a2810a29a5ac795a71c6f95 /sys/pccard/pccard_nbk.c
parent568ffd8885481391ba86d3dab36e772ea2caef4a (diff)
downloadsrc-486d464d74f6eae01b67011ee8b84c1e3b652c1b.tar.gz
src-486d464d74f6eae01b67011ee8b84c1e3b652c1b.zip
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)
Notes
Notes: svn path=/head/; revision=70748
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 2d951f02a24a..40cb7d8a0311 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