1 .\" $NetBSD: elansc.4,v 1.10 2008/04/08 20:30:16 dyoung Exp $
3 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Jason R. Thorpe.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd AMD Elan SC520 System Controller driver
37 .Cd "elansc* at mainbus? bus ?"
38 .Cd "gpio* at elansc?"
40 .Cd "elanpar* at elansc?"
41 .Cd "elanpex* at elansc?"
45 driver supports the system controller of the AMD Elan SC520 microcontroller.
46 The SC520 consists of an AMD Am5x86 processor core, integrated PCI host
47 controller, and several standard on-chip devices, such as NS16550-compatible
48 UARTs, real-time clock, and timers.
50 The Elan SC520 also provides several special on-chip devices.
51 The following are supported by the
57 The watchdog timer may be configured for a 1
58 second, 2 second, 4 second, 8 second, 16 second, or 32 second
61 PCI exceptions reporting.
62 The SC520 microcontroller can report exceptions that occur as it
63 acts as both a PCI bus master and a bus target.
68 The SC520 microcontroller can designate write-protected regions of RAM using
69 the Programmable Address Regions registers.
73 Programmable Input/Output.
74 The SC520 microcontroller supports 32 programmable I/O signals (PIOs)
75 that can be used on the system board to monitor signals or control devices
76 that are not handled by the other functions in the SC520 microcontroller.
77 These signals can be programmed to be inputs or to be driven
82 Pins can be accessed through the
87 program allows easy manipulation of pins from userland.
89 PCI host-bridge optimization.
91 takes advantage of a suspend/resume cycle to tune the PCI host-bridge
92 for higher performance.
103 device first appeared in
105 PIO function support was added in
107 and subsequently ported to
109 Support for PCI exceptions reporting and for RAM write-protection
115 driver was written by
116 .An Jason R. Thorpe Aq thorpej@NetBSD.org .
118 provided the work-around for a hardware bug related to the watchdog timer
119 in some steppings of the SC520 CPU.
120 Support for the PIO function was added to
123 .An Alexander Yurchenko Aq grange@openbsd.org
127 .An Jeff Rizzo Aq riz@NetBSD.org .
128 .An David Young Aq dyoung@NetBSD.org
129 added support for PCI exceptions reporting and for RAM write-protection
130 using the Programmable Address Regions.