Date: Sun, 22 Dec 2002 11:06:33 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22622 for review Message-ID: <200212221906.gBMJ6X37006056@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22622 Change 22622 by marcel@marcel_nfs on 2002/12/22 11:06:03 Change the interface of sioprobe and sioattach. We now expect all necessary parameters to be passed in the softc (ie com_s). This means that the bus specific front-ends need to deal with the resources, because we only have the tag and handle in the softc. Consequently, we let the bus code allocate the softc for us. \BEGIN{CRITICAL SECTION} Affected files ... .. //depot/projects/ia64/sys/dev/sio/siovar.h#9 edit Differences ... ==== //depot/projects/ia64/sys/dev/sio/siovar.h#9 (text+ko) ==== @@ -206,9 +206,9 @@ extern speed_t comdefaultrate; extern u_long comdefaultrclk; -int sioattach(device_t dev, int xrid, u_long rclk); +int sioattach(device_t dev); int siodetach(device_t dev); -int sioprobe(device_t dev, int xrid, u_long rclk, int noprobe); +int sioprobe(device_t dev); u_int siodivisor(u_long rclk, u_long speed); int sioprobe1(struct com_s *sc); 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?200212221906.gBMJ6X37006056>
