summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (unfollow)
Commit message (Collapse)AuthorFilesLines
1998-07-28Added rtc directory.Joel Sherrill2-0/+138
1998-07-25Added comments and corrected spacing.Joel Sherrill2-21/+28
1998-07-25Corrected spacing and added headers.Joel Sherrill1-17/+28
1998-07-25Added ns16550_set_attributes.Joel Sherrill2-4/+105
1998-07-25Corrected spacing and added a comment.Joel Sherrill1-3/+5
1998-07-25Updated to reflect set attributes.Joel Sherrill1-2/+9
1998-07-25Rewrote NS16550 TX interrupt processing to use termios for the bufferJoel Sherrill3-125/+84
and manage the interrupt sources like the other drivers. This let use remove the ns16550_flush() routine.
1998-07-25Removed TX ring buffer.Joel Sherrill1-2/+0
1998-07-25Changed variable to hold received data to unsigned.Joel Sherrill2-2/+2
1998-07-25Added constants for z85c30_enable_interrupts.Joel Sherrill1-6/+17
1998-07-25Removed z85c30_flush().Joel Sherrill1-124/+79
Reworked transmit interrupt processing to remove ring buffer and to mask the TX empty interrupt when it was not expected. This code now uses termios to buffer TX output.
1998-07-25Changed comment on TxBuffer.Joel Sherrill1-1/+2
1998-07-25Removed mc68681_flush and corrected spacing.Joel Sherrill2-33/+5
1998-07-25Added information on Chris Johns' suggestion to use pointers internallyJoel Sherrill1-0/+3
rather than doing repeated table lookups.
1998-07-25New file.Joel Sherrill1-0/+49
1998-07-25Changed to utilize return status from rtems_termios_dequeue_characters()Joel Sherrill1-4/+9
and to correctly set the TX active indicator.
1998-07-25Interrupts were incorrectly managed with a disable/disable pair ratherJoel Sherrill1-2/+2
than with a disable/enable pair.
1998-07-18Removed use of data port for z8530.Joel Sherrill2-90/+54
Move some code around.
1998-07-16Corrected header files.Joel Sherrill1-1/+2
1998-07-16Minor corrections for typos to get it to compile.Joel Sherrill1-2/+2
1998-07-16Split default baud rate table into its own file. This shrinks theJoel Sherrill5-108/+124
size of the minimum mc68681 driver. The clock speed field can not now be configured as NULL but must instead specify the address of the default table.
1998-07-15Fixed typos.Joel Sherrill4-4/+7
1998-07-15Added default z85c30 register access routines.Joel Sherrill3-1/+129
1998-07-15Added default mc68681 register access routines.Joel Sherrill5-12/+142
1998-07-15Added check for proper deviceType to interrupt processing code.Joel Sherrill2-2/+4
1998-07-15Added interrupt mask and interrupt status register bit constants.Joel Sherrill1-1/+24
Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts().
1998-07-15Added default mc68681 register access routines.Joel Sherrill1-0/+49
1998-07-15Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill1-121/+93
the need for the ringbuffer manipulation in this driver. It should also allow the removal of mc68681_flush. This greatly simplified the interrupt processing. Reworked Interrupt Mask Register handling. Added imr field to the device context. This handling makes sure that the IMR accurately reflects the state of the port in use and its mate. This required the reworking of the mc68681_enable_interrupts() routine to allow for the specification of which interrupt sources were being enabled/disabled. Reworked initialization to reset using port address rather than chip base address. Basically we were always resetting port 0. Added deviceType field which allows for multiple chips of the same class to have the same vector number.
1998-07-15Added information on the deviceType field.Joel Sherrill2-0/+8
1998-07-15Added default mc68681 register access routines.Joel Sherrill1-1/+2
1998-07-15Added comment to remove use of TxBuffer ring buffer in all libchip drivers.Joel Sherrill1-1/+14
The scheme used in the mc68681 is the one to follow.
1998-07-15Switched deviceOutputUsesInterrupts to TRUE so output would be interruptJoel Sherrill1-148/+147
driven. Redid "mate determination" code to check that the chip base address was the same but the port address was different. Moved mc68681_process and mc68681_build_imr to the bottom of the file so they would not be inlined. Removed the code which forced mc68681_build_imr to always return 0 which resulted in interrupts never being enabled from the chip. Corrected spacing in prototype of mc68681_write_support_int.
1998-07-15Switched to "deviceOutput = TRUE" which made device output use interrupts.Joel Sherrill1-1/+1
1998-07-09Added set attributes routine but did not hook it in to the table.Joel Sherrill2-13/+110
Switched to shared default probe.
1998-07-09Added new files.Joel Sherrill1-1/+3
1998-07-09Switched to shared default probe routine.Joel Sherrill1-14/+3
1998-07-09Switched to default probe routine.Joel Sherrill1-17/+2
1998-07-09Added new baud rate to number function and default serial probe routine.Joel Sherrill4-0/+107
Renamed sersupp.c so we could have one routine per file to decrease the baggage pulled into an application by default.
1998-07-09Added proper handling of extended baud rate table selection at boot time.Joel Sherrill1-1/+6
Still need to address default terminal settings.
1998-07-09Properly handle extended baud rate set commands.Joel Sherrill1-15/+22
Temporarily "if 0" of code which enables interrupts. Moved setting of command registers at open but the current implementation is questionable. Added reset of RX errors while polling TX. Read polled character as unsigned. Baud rate mask must be in upper and lower nibble.
1998-07-09Corrected definition of MC68681_RX_BUFFER.Joel Sherrill1-1/+1
1998-07-09Changed static to MC68681_STATIC to make all data and routinesJoel Sherrill1-105/+192
globally visiable to ease debugging. Added support for mc68681 "2 column" style baud rate table as well as the Exar 88681 "4 column" style baud rate table. Added support for user override of the default baud rate table.
1998-07-09Removed commented out line.Joel Sherrill1-1/+0
1998-07-09Added sersupp.c.Joel Sherrill1-1/+1
1998-07-09New files to contain generally needed serial driver support routines.Joel Sherrill1-0/+13
1998-07-09Changed static to MC68681_STATIC to make all routines and data globalJoel Sherrill1-11/+20
to ease debugging.
1998-07-09Added support for the Extended Baud Rate set control found in theJoel Sherrill1-2/+20
Exar 88681 but not in the base 68681. Added support for user provided baud rate tables. This is needed when the board does not use the standard baud rate clock.
1998-07-09Changed static to NS16550_STATIC to make all routines and data globalJoel Sherrill2-31/+40
to ease debugging.
1998-07-09Changed static to Z85C30_STATIC so all data and routines could be globalJoel Sherrill2-32/+41
for debugging purposes.
1998-07-09Added information to README.mc68681.Joel Sherrill3-3/+136
Created the basic README and the README.z85c30.