Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2002 10:41:04 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 22213 for review
Message-ID:  <200212121841.gBCIf4tI058238@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22213

Change 22213 by marcel@marcel_nfs on 2002/12/12 10:40:38

	o  Add rclk and baud to sio_consdata.
	o  Declare siodivisor.

Affected files ...

.. //depot/projects/ia64/sys/dev/sio/siovar.h#6 edit

Differences ...

==== //depot/projects/ia64/sys/dev/sio/siovar.h#6 (text+ko) ====

@@ -176,6 +176,8 @@
 struct sio_consdata {
 	u_long	addr;
 	int	type;
+	u_long	rclk;			/* divisor = (rclk >> 4) / baud */
+	u_long	baud;			/* baud = (rclk >> 4) / divisor */
 };
 
 int	sio_get_console(struct sio_consdata*);
@@ -187,3 +189,5 @@
 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);
+
+u_int	siodivisor(u_long rclk, u_long speed);

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?200212121841.gBCIf4tI058238>