Changeset c0573d7 in rtems
- Timestamp:
- 07/15/98 21:40:42 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 38e717f
- Parents:
- 0f61336
- Location:
- c/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libchip/serial/serial.h
r0f61336 rc0573d7 53 53 } console_flow; 54 54 55 typedef enum { 56 SERIAL_MC68681, /* Motorola MC68681 or Exar 88681 */ 57 SERIAL_NS16550, /* National Semiconductor NS16550 */ 58 SERIAL_Z85C30, /* Zilog Z85C30 */ 59 SERIAL_CUSTOM /* BSP specific driver */ 60 61 } console_devs; 62 55 63 /* 56 64 * Each field is interpreted thus: 57 65 * 58 66 * sDeviceName This is the name of the device. 67 * 68 * deviceType This indicates the chip type. It is especially important when 69 * multiple devices share the same interrupt vector and must be 70 * distinguished. 59 71 * 60 72 * pDeviceFns This is a pointer to the set of driver routines to use. … … 113 125 typedef struct _console_tbl { 114 126 char *sDeviceName; 127 console_devs deviceType; 115 128 console_fns *pDeviceFns; 116 129 boolean (*deviceProbe)(int minor); … … 133 146 void *termios_data; 134 147 volatile boolean bActive; 135 volatile Ring_buffer_t TxBuffer; 148 volatile Ring_buffer_t TxBuffer; /* XXX remove from other drivers */ 136 149 /* 137 150 * This field may be used for any purpose required by the driver -
c/src/libchip/serial/serial.h
r0f61336 rc0573d7 53 53 } console_flow; 54 54 55 typedef enum { 56 SERIAL_MC68681, /* Motorola MC68681 or Exar 88681 */ 57 SERIAL_NS16550, /* National Semiconductor NS16550 */ 58 SERIAL_Z85C30, /* Zilog Z85C30 */ 59 SERIAL_CUSTOM /* BSP specific driver */ 60 61 } console_devs; 62 55 63 /* 56 64 * Each field is interpreted thus: 57 65 * 58 66 * sDeviceName This is the name of the device. 67 * 68 * deviceType This indicates the chip type. It is especially important when 69 * multiple devices share the same interrupt vector and must be 70 * distinguished. 59 71 * 60 72 * pDeviceFns This is a pointer to the set of driver routines to use. … … 113 125 typedef struct _console_tbl { 114 126 char *sDeviceName; 127 console_devs deviceType; 115 128 console_fns *pDeviceFns; 116 129 boolean (*deviceProbe)(int minor); … … 133 146 void *termios_data; 134 147 volatile boolean bActive; 135 volatile Ring_buffer_t TxBuffer; 148 volatile Ring_buffer_t TxBuffer; /* XXX remove from other drivers */ 136 149 /* 137 150 * This field may be used for any purpose required by the driver
Note: See TracChangeset
for help on using the changeset viewer.