From owner-p4-projects Sun Dec 22 11: 6:36 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A0C8837B405; Sun, 22 Dec 2002 11:06:34 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E4937B401 for ; Sun, 22 Dec 2002 11:06:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4ABD43EDA for ; Sun, 22 Dec 2002 11:06:33 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBMJ6Xfh006059 for ; Sun, 22 Dec 2002 11:06:33 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBMJ6X37006056 for perforce@freebsd.org; Sun, 22 Dec 2002 11:06:33 -0800 (PST) Date: Sun, 22 Dec 2002 11:06:33 -0800 (PST) Message-Id: <200212221906.gBMJ6X37006056@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 22622 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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