1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | Configuration Table Use |
---|
6 | ======================= |
---|
7 | |
---|
8 | sDeviceName |
---|
9 | |
---|
10 | The name of this device. |
---|
11 | |
---|
12 | pDeviceFns |
---|
13 | |
---|
14 | The device interface control table. This may be: |
---|
15 | + mc68681_fns for interrupt driven IO |
---|
16 | + mc68681_fns_polled for polled IO |
---|
17 | |
---|
18 | deviceProbe |
---|
19 | |
---|
20 | This is the address of the routine which probes to see if the device |
---|
21 | is present. |
---|
22 | |
---|
23 | pDeviceFlow |
---|
24 | |
---|
25 | This field is ignored as hardware flow control is not currently supported. |
---|
26 | |
---|
27 | ulMargin |
---|
28 | |
---|
29 | This is currently unused. |
---|
30 | |
---|
31 | ulHysteresis |
---|
32 | |
---|
33 | This is currently unused. |
---|
34 | |
---|
35 | pDeviceParams |
---|
36 | |
---|
37 | This is set to the default settings. |
---|
38 | |
---|
39 | ulCtrlPort1 |
---|
40 | |
---|
41 | This field is the base address of the entire DUART. |
---|
42 | |
---|
43 | ulCtrlPort2 |
---|
44 | |
---|
45 | This field is the base address of the port specific registers. |
---|
46 | |
---|
47 | ulDataPort |
---|
48 | |
---|
49 | This field is bit mapped as follows: |
---|
50 | bit 0: baud rate set a or b |
---|
51 | bit 1-2: BRG selection ("Select Extend bit") |
---|
52 | |
---|
53 | Note: If both ports on single DUART are not configured for the same |
---|
54 | baud rate set, then unexpected results will occur. |
---|
55 | |
---|
56 | Note: On the Exar 88c681, if a standard clock of 3.6864 Mhz is used |
---|
57 | and the "Select Extend bit" is 0 (disabled), then the default |
---|
58 | MC68681 baud rate table is selected. |
---|
59 | |
---|
60 | getRegister |
---|
61 | setRegister |
---|
62 | |
---|
63 | These follow standard conventions. |
---|
64 | |
---|
65 | getData |
---|
66 | setData |
---|
67 | |
---|
68 | These are unused since the TX and RX data registers can be accessed |
---|
69 | as regular registers. |
---|
70 | |
---|
71 | ulClock |
---|
72 | |
---|
73 | This is either NULL or a pointer to a baud rate mapping table. If |
---|
74 | NULL, then the CSR/ACR/X bit mappings shown in the 68681 and 88681 |
---|
75 | manuals are used. Otherwise, the board specific baud rate mapping |
---|
76 | is used. |
---|
77 | |
---|
78 | ulIntVector |
---|
79 | |
---|
80 | This is the interrupt vector number associated with this chip. |
---|
81 | |
---|