Date: Sun, 22 Dec 2002 12:51:46 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22630 for review Message-ID: <200212222051.gBMKpkKo045065@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22630 Change 22630 by marcel@marcel_nfs on 2002/12/22 12:50:49 Let's not redefine bst and bsh in the attach method. We define them in the probe method and since sioprobe can swap the softc, it seems better to just leave them alone. This assumes that attach does not get different resources than probe... Affected files ... .. //depot/projects/ia64/sys/dev/sio/sio_pci.c#11 edit Differences ... ==== //depot/projects/ia64/sys/dev/sio/sio_pci.c#11 (text+ko) ==== @@ -109,8 +109,6 @@ rid = (id->rid >= 0) ? id->rid : -id->rid; space = (id->rid >= 0) ? SYS_RES_IOPORT : SYS_RES_MEMORY; res = bus_alloc_resource(dev, space, &rid, 0, ~0, 8, RF_ACTIVE); - com->bsh = rman_get_bushandle(res); - com->bst = rman_get_bustag(res); error = sioattach(dev); if (error) bus_release_resource(dev, space, rid, res); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212222051.gBMKpkKo045065>
