4.115
Line | |
---|
1 | Status |
---|
2 | ====== |
---|
3 | |
---|
4 | There are no known problems with this driver. |
---|
5 | |
---|
6 | Configuration Table Use |
---|
7 | ======================= |
---|
8 | |
---|
9 | sDeviceName |
---|
10 | |
---|
11 | The name of this device. |
---|
12 | |
---|
13 | deviceType |
---|
14 | |
---|
15 | This field must be SERIAL_NS16550. |
---|
16 | |
---|
17 | pDeviceFns |
---|
18 | |
---|
19 | The device interface control table. This may be: |
---|
20 | + ns16550_fns for interrupt driven IO |
---|
21 | + ns16550_fns_polled for polled IO |
---|
22 | |
---|
23 | deviceProbe |
---|
24 | |
---|
25 | This is the address of the routine which probes to see if the device |
---|
26 | is present. |
---|
27 | |
---|
28 | pDeviceFlow |
---|
29 | |
---|
30 | This field is ignored as hardware flow control is not currently supported. |
---|
31 | |
---|
32 | ulMargin |
---|
33 | |
---|
34 | This is currently unused. |
---|
35 | |
---|
36 | ulHysteresis |
---|
37 | |
---|
38 | This is currently unused. |
---|
39 | |
---|
40 | pDeviceParams |
---|
41 | |
---|
42 | This is set to the default settings. At this point, it is the default |
---|
43 | baud rate cast as a (void *). |
---|
44 | |
---|
45 | ulCtrlPort1 |
---|
46 | |
---|
47 | This field is the base address of this port on the UART. |
---|
48 | |
---|
49 | ulCtrlPort2 |
---|
50 | |
---|
51 | This field is unused for the NS16550. |
---|
52 | |
---|
53 | ulDataPort |
---|
54 | |
---|
55 | This field is the base address of this port on the UART. |
---|
56 | |
---|
57 | getRegister |
---|
58 | setRegister |
---|
59 | |
---|
60 | These follow standard conventions. |
---|
61 | |
---|
62 | getData |
---|
63 | setData |
---|
64 | |
---|
65 | These are unused since the TX and RX data registers can be accessed |
---|
66 | as regular registers. |
---|
67 | |
---|
68 | ulClock |
---|
69 | |
---|
70 | This is the clock constant which is divided by the desired baud |
---|
71 | to get the value programmed into the part. The formula for this |
---|
72 | for 9600 baud is: |
---|
73 | |
---|
74 | chip_divisor_value = ulClock / 9600. |
---|
75 | |
---|
76 | NOTE: When ulClock is 0, the correct value for a PC (115,200) is |
---|
77 | used. |
---|
78 | |
---|
79 | ulIntVector |
---|
80 | |
---|
81 | This is the interrupt vector number associated with this chip. |
---|
82 | |
---|
Note: See
TracBrowser
for help on using the repository browser.