summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/vsbic.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-18 20:48:56 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-18 20:48:56 +0000
commita21e48ecc1227742fb0e02b4d8ee2342fb72b97c (patch)
treea2a4c4a63c4ef8bde6c1810da69c5b3c22bee4dd /sys/arch/mvme68k/dev/vsbic.c
parent975a37533326b572d52e5b0c92855b5eedd3fb65 (diff)
Better bus_dmamap_sync() routine, lets vsbic(4) run on 68060 systems, so
let it attach on them now.
Diffstat (limited to 'sys/arch/mvme68k/dev/vsbic.c')
-rw-r--r--sys/arch/mvme68k/dev/vsbic.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/dev/vsbic.c b/sys/arch/mvme68k/dev/vsbic.c
index b4f72b79d93..ba1c32c2147 100644
--- a/sys/arch/mvme68k/dev/vsbic.c
+++ b/sys/arch/mvme68k/dev/vsbic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsbic.c,v 1.1 2009/02/17 22:28:41 miod Exp $ */
+/* $OpenBSD: vsbic.c,v 1.2 2009/02/18 20:48:53 miod Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
@@ -426,7 +426,7 @@ struct cfdriver vsbic_cd = {
struct scsi_adapter vsbic_swtch = {
vsbic_scsicmd,
- minphys
+ scsi_minphys
};
struct scsi_device vsbic_scsidev = {
@@ -448,10 +448,6 @@ vsbic_match(struct device *device, void *cf, void *args)
int rc;
uint8_t id;
- /* XXX does not work on 68060 yet, likely a cache handling bug */
- if (mmutype == MMU_68060)
- return 0;
-
if (bus_space_map(iot, ca->ca_paddr, MVME327_CSR_SIZE, 0, &ioh) != 0)
return 0;