summaryrefslogtreecommitdiff
path: root/sys/dev/pci/musycc.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-01-25 11:02:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-01-25 11:02:55 +0000
commit0e30b534b58a2a1036179cf82c18f411934d36d2 (patch)
tree3d18664916bc1476482f6619de7c6e575798fd57 /sys/dev/pci/musycc.c
parent6f614ec09bb61d5523adde9d0e63358b26f8fb75 (diff)
Reset and initialize part of the device early. Makes reading the ROM more
reliable because correct bus timings were set later.
Diffstat (limited to 'sys/dev/pci/musycc.c')
-rw-r--r--sys/dev/pci/musycc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/musycc.c b/sys/dev/pci/musycc.c
index b8751fbea91..7087b66e3bd 100644
--- a/sys/dev/pci/musycc.c
+++ b/sys/dev/pci/musycc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: musycc.c,v 1.10 2005/12/19 15:49:10 claudio Exp $ */
+/* $OpenBSD: musycc.c,v 1.11 2006/01/25 11:02:53 claudio Exp $ */
/*
* Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland
@@ -94,12 +94,6 @@ musycc_attach_common(struct musycc_softc *sc, u_int32_t portmap, u_int32_t mode)
struct musycc_group *mg;
int i, j;
- /* soft reset device */
- bus_space_write_4(sc->mc_st, sc->mc_sh, MUSYCC_SERREQ(0),
- MUSYCC_SREQ_SET(1));
- bus_space_barrier(sc->mc_st, sc->mc_sh, MUSYCC_SERREQ(0),
- sizeof(u_int32_t), BUS_SPACE_BARRIER_WRITE);
-
if (musycc_alloc_groupdesc(sc) == -1) {
printf(": couldn't alloc group descriptors\n");
return (-1);