From owner-p4-projects Sat Dec 21 19:15:13 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DAC8537B405; Sat, 21 Dec 2002 19:15:11 -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 7421B37B401 for ; Sat, 21 Dec 2002 19:15:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D9C243EDA for ; Sat, 21 Dec 2002 19:15:11 -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 gBM3FBfh066575 for ; Sat, 21 Dec 2002 19:15:11 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBM3FAA7066572 for perforce@freebsd.org; Sat, 21 Dec 2002 19:15:10 -0800 (PST) Date: Sat, 21 Dec 2002 19:15:10 -0800 (PST) Message-Id: <200212220315.gBM3FAA7066572@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 22602 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=22602 Change 22602 by marcel@marcel_nfs on 2002/12/21 19:14:46 Save the divisor latch in struct com_s. We can read the divisor latch, but it's just a lot of work (relatively speaking). While here, declare comdefaultrate and comdefaultrclk as extern. Affected files ... .. //depot/projects/ia64/sys/dev/sio/siovar.h#8 edit Differences ... ==== //depot/projects/ia64/sys/dev/sio/siovar.h#8 (text+ko) ==== @@ -81,6 +81,7 @@ bus_space_handle_t bsh; u_long rclk; /* Receiver clock (bin 9) */ u_int regshft; /* Interleaved multi-port. */ + u_short reg_dl; /* Copy of DL. */ u_char reg_fcr; /* Copy of FCR. */ /* Old SIO fields. Need auditing. */ @@ -202,6 +203,9 @@ extern devclass_t sio_devclass; extern char sio_driver_name[]; +extern speed_t comdefaultrate; +extern u_long comdefaultrclk; + int sioattach(device_t dev, int xrid, u_long rclk); int siodetach(device_t dev); int sioprobe(device_t dev, int xrid, u_long rclk, int noprobe); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message