Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 15:45:02 +0100
From:      "Koster, K.J." <K.J.Koster@kpn.com>
To:        "'mjacob@feral.com'" <mjacob@feral.com>
Cc:        'FreeBSD Alpha mailing list' <freebsd-alpha@FreeBSD.ORG>
Subject:   RE: fxp0 hangs my AXPpci33
Message-ID:  <59063B5B4D98D311BC0D0001FA7E4522026D7728@l04.research.kpn.com>

next in thread | raw e-mail | index | archive | help
> 
> Which patch was this last one that worked? The increase in DELAY?
> 
The last one Andrew posted. Here's a snippet from the patch:

Index: if_fxp.c
===================================================================
 	/*
 	 * Map control/status registers.
 	 */
+#ifdef FXP_PREFER_IOSPACE	 /*XXX*/
+	device_printf(dev, "using i/o space access\n");
+	rid = FXP_PCI_IOBA;
+	sc->io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid,
+				     0, ~0, 1, RF_ACTIVE);
+	if (!sc->io) {
+		device_printf(dev, "could not map memory\n");
+		error = ENXIO;
+		goto fail;
+        }
+
+	sc->sc_st = rman_get_bustag(sc->io);
+	sc->sc_sh = rman_get_bushandle(sc->io);
+
+#else

No timing changes are in the patch.

    Kees Jan

=================================================
 TV is the worst  of both  worlds.  It's not  as
 good at words  as radio is because the pictures
 are a distraction  which demand  attention, and
 it's not as good as cinema because the pictures
 are not nearly as good.
                                 Douglas Adams


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E4522026D7728>