summaryrefslogtreecommitdiff
path: root/sys/dev/xe
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-05-31 11:29:30 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-05-31 11:29:30 +0000
commit2447bec8293649f281b5f9926a7cd4097ccaf4bf (patch)
treef7694bd7dc78280030c80d074ef35b7f539ff9ca /sys/dev/xe
parentdb453b16791eca0888057e429ec55ab2c1e14af9 (diff)
Notes
Diffstat (limited to 'sys/dev/xe')
-rw-r--r--sys/dev/xe/if_xe.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index 1836f89332d5..88af57697253 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -352,7 +352,11 @@ xe_memwrite(struct pccard_devinfo *devi, off_t offset, u_char byte)
uios.uio_rw = UIO_WRITE;
uios.uio_procp = 0;
+#if 0 /* THIS IS BOGUS */
return cdevsw[CARD_MAJOR]->d_write(makedev(CARD_MAJOR, devi->slt->slotnum), &uios, 0);
+#else
+ return (-1);
+#endif
}
@@ -373,7 +377,11 @@ xe_memread(struct pccard_devinfo *devi, off_t offset, u_char *buf, int size)
uios.uio_rw = UIO_READ;
uios.uio_procp = 0;
+#if 0 /* THIS IS BOGUS */
return cdevsw[CARD_MAJOR]->d_read(makedev(CARD_MAJOR, devi->slt->slotnum), &uios, 0);
+#else
+ return (-1);
+#endif
}