sioreg.h (51078) | sioreg.h (85365) |
---|---|
1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)comreg.h 7.2 (Berkeley) 5/9/91 | 1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * from: @(#)comreg.h 7.2 (Berkeley) 5/9/91 |
34 * $FreeBSD: head/sys/dev/sio/sioreg.h 51078 1999-09-08 10:59:03Z peter $ | 34 * $FreeBSD: head/sys/dev/sio/sioreg.h 85365 2001-10-23 15:17:33Z imp $ |
35 */ 36 37 38/* 16 bit baud rate divisor (lower byte in dca_data, upper in dca_ier) */ 39#define COMBRD(x) (1843200 / (16*(x))) 40#ifdef PC98 41#define COMBRD_RSA(x) (14745600 / (16*(x))) 42#endif --- 78 unchanged lines hidden (view full) --- 121 122/* speed to initialize to during chip tests */ 123#define SIO_TEST_SPEED 9600 124 125/* default serial console speed if not set with sysctl or probed from boot */ 126#ifndef CONSPEED 127#define CONSPEED 9600 128#endif | 35 */ 36 37 38/* 16 bit baud rate divisor (lower byte in dca_data, upper in dca_ier) */ 39#define COMBRD(x) (1843200 / (16*(x))) 40#ifdef PC98 41#define COMBRD_RSA(x) (14745600 / (16*(x))) 42#endif --- 78 unchanged lines hidden (view full) --- 121 122/* speed to initialize to during chip tests */ 123#define SIO_TEST_SPEED 9600 124 125/* default serial console speed if not set with sysctl or probed from boot */ 126#ifndef CONSPEED 127#define CONSPEED 9600 128#endif |
129 130#define IO_COMSIZE 8 /* 8250, 16x50 com controllers */ |
|