summaryrefslogtreecommitdiff
path: root/sys/dev/pcic
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/dev/pcic
parent568ffd8885481391ba86d3dab36e772ea2caef4a (diff)
Notes
Diffstat (limited to 'sys/dev/pcic')
-rw-r--r--sys/dev/pcic/i82365.c6
-rw-r--r--sys/dev/pcic/i82365var.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pcic/i82365.c b/sys/dev/pcic/i82365.c
index 8d8219de1f6e..eeb03044aa56 100644
--- a/sys/dev/pcic/i82365.c
+++ b/sys/dev/pcic/i82365.c
@@ -1471,9 +1471,11 @@ pcic_set_res_flags(device_t dev, device_t child, int type, int rid,
}
int
-pcic_set_memory_offset(device_t dev, device_t child, int rid, u_int32_t offset)
+pcic_set_memory_offset(device_t dev, device_t child, int rid, u_int32_t offset,
+ u_int32_t *deltap)
{
- return 0;
+ /* XXX BAD XXX */
+ return EIO;
}
static void
diff --git a/sys/dev/pcic/i82365var.h b/sys/dev/pcic/i82365var.h
index b87f95804920..1d6ce09b276b 100644
--- a/sys/dev/pcic/i82365var.h
+++ b/sys/dev/pcic/i82365var.h
@@ -163,6 +163,6 @@ int pcic_disable_socket(device_t dev, device_t child);
int pcic_set_res_flags(device_t dev, device_t child, int type, int rid,
u_int32_t flags);
int pcic_set_memory_offset(device_t dev, device_t child, int rid,
- u_int32_t offset);
+ u_int32_t offset, u_int32_t *deltap);
#define PCIC_SOFTC(d) (struct pcic_softc *) device_get_softc(d)