summaryrefslogtreecommitdiffstats
path: root/c/src/libchip (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
1998-07-05Added include of termios.h.Joel Sherrill1-0/+59
Also added a block of comments above the console_tbl structure to explain each entry.
1998-06-23Removed RTS and DTR handling code since the MC68681 seems to only haveJoel Sherrill3-249/+91
automatic handling of RTS/CTS. This only protects the on-chip buffers and FIFOs -- not the termios queues as the RTS/CTS code in here did. It may be necessary in the future to enable this automatic support. Interrupt processing code added. In some places, channel and duart base addresses were swapped.
1998-06-23New file describing mc68681 libchip driver.Joel Sherrill1-0/+39
1998-06-23Added numerous comments.Joel Sherrill1-15/+72
1998-06-23Added concept of "mate" -- the other port on the same DUART. This isJoel Sherrill3-46/+80
needed to properly handle the interrupt mask register since it is shared.
1998-06-23Added close.Joel Sherrill1-4/+28
1998-06-23Added set attributes and written initialize and first open.Joel Sherrill1-78/+236
1998-06-23Added more registers.Joel Sherrill1-0/+11
1998-06-23Added set attributes prototype.Joel Sherrill1-0/+5
1998-06-23Added NULL entry for setAttributes.Joel Sherrill3-2/+7
1998-06-22Added initial part of iniitialization.Joel Sherrill2-8/+36
1998-06-22Added mc68681 stuff to the makefile.Joel Sherrill4-90/+344
Added numerous constants to mc68681_p.h. Changed spacing. At this point the polled support is in but nothing else is right except the structure.
1998-06-22Moved get and set register/data typedefs to this file.Joel Sherrill1-4/+14
1998-06-22Moved set and get Register and Data type defininitions to serial.h.Joel Sherrill4-20/+5
Cleaned up spacing.
1998-06-22Corrected spacingJoel Sherrill1-26/+25
1998-06-22spacing changesJoel Sherrill3-31/+36
1998-06-22Added comments and corrected spacing.Joel Sherrill3-197/+213
1998-06-22Added a comment and cleaned up spacingJoel Sherrill2-50/+63
1998-06-22Initial version of these files.Joel Sherrill3-0/+735
1998-06-13Initial incarnation of libchip compiles.Joel Sherrill4-9/+84
1998-06-13Base code from ppcn_60x BSPJoel Sherrill7-0/+2184
1998-03-24Rename hppa1_1 to hppa1.1 and switched to using __XXX__ macros forJoel Sherrill1-7/+7
the CPU family name constants.
1998-02-17updated copyright to 1998Joel Sherrill17-17/+17
1997-10-08Fixed typo in the pointer to the license terms.Joel Sherrill17-34/+34
1997-08-04First attempt at values for PPCJoel Sherrill1-0/+3