summaryrefslogtreecommitdiffstats
path: root/c/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Dario Alcocer <alcocer@connectnet.com>. His comments:Joel Sherrill1998-07-171-0/+2
| | | | | | | | | Haven't had a chance to do an extensive shake-out of 980710, but it builds just fine on FreeBSD 2.2.5 (after termios is fixed using the attached patch), and the tests run fine. FYI: FreeBSD doesn't support System V IPC out of the box, but one only needs to add three options to the kernel build configuration file, recompile the kernel, and you're ready.
* Corrected header files.Joel Sherrill1998-07-161-1/+2
|
* Minor corrections for typos to get it to compile.Joel Sherrill1998-07-161-2/+2
|
* Split default baud rate table into its own file. This shrinks theJoel Sherrill1998-07-165-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.
* Fixed typo in which last port did not get switched to defaultJoel Sherrill1998-07-152-8/+8
| | | | register access routines.
* Fixed typos.Joel Sherrill1998-07-154-4/+7
|
* Switched to usign the default z8530 and mc68681 register access routines.Joel Sherrill1998-07-157-272/+17
|
* Added default z85c30 register access routines.Joel Sherrill1998-07-153-1/+129
|
* Added default mc68681 register access routines.Joel Sherrill1998-07-155-12/+142
|
* Added check for proper deviceType to interrupt processing code.Joel Sherrill1998-07-152-2/+4
|
* Added interrupt mask and interrupt status register bit constants.Joel Sherrill1998-07-151-1/+24
| | | | | Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts().
* Added default mc68681 register access routines.Joel Sherrill1998-07-151-0/+49
|
* Switched from driver's own buffering to using termios. This eliminatedJoel Sherrill1998-07-151-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.
* Added information on the deviceType field.Joel Sherrill1998-07-152-0/+8
|
* Added default mc68681 register access routines.Joel Sherrill1998-07-151-1/+2
|
* Added SCV64_Get_Interrupt_Enable().Joel Sherrill1998-07-151-4/+8
| | | | Added proper headers to routines.
* Added SCV64_Get_Interrupt_Enable().Joel Sherrill1998-07-151-0/+1
|
* Added chip type identifier field. This was necessary because a singleJoel Sherrill1998-07-152-0/+8
| | | | interrupt vector can be shared by multiple chips of varying types.
* Added comment to remove use of TxBuffer ring buffer in all libchip drivers.Joel Sherrill1998-07-151-1/+14
| | | | The scheme used in the mc68681 is the one to follow.
* Added comments.Joel Sherrill1998-07-152-6/+54
|
* Added comments.Joel Sherrill1998-07-151-1/+8
|
* Masked out interrupts not being used prior to processing the status register.Joel Sherrill1998-07-151-1/+9
|
* Added routine to return interrupt mask. Added comments.Joel Sherrill1998-07-151-3/+28
|
* Added scv64 subdirectory.Joel Sherrill1998-07-151-1/+1
|
* Switched to SCV64.Joel Sherrill1998-07-151-23/+58
|
* Added CSCV64 functions and addresses.Joel Sherrill1998-07-151-10/+56
|
* Switched from polling to interrupts and in the process added a conditionalJoel Sherrill1998-07-152-8/+34
| | | | | compilation section which used CONSOLE_USE_INTERRUPTS to switch all ports between interrupt and polled mode.
* Added scv64 subdirectory.Joel Sherrill1998-07-151-1/+1
|
* New files.Joel Sherrill1998-07-152-0/+202
|
* Switched deviceOutputUsesInterrupts to TRUE so output would be interruptJoel Sherrill1998-07-151-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.
* Switched to "deviceOutput = TRUE" which made device output use interrupts.Joel Sherrill1998-07-151-1/+1
|
* Patch from Quality Quorum <qqi@world.std.com>. Comments:Joel Sherrill1998-07-103-11/+89
| | | | | | | | | | | | | | | | | | | c/src/lib/libbsp/i386/pc386/console/console.c __assert() modified so it prints on selected console instead of PC console c/src/lib/libbsp/i386/pc386/console/inch.c inch_sleep() modified, so it does not depend upon tmacros.h c/src/lib/libbsp/i386/pc386/pc386dev/GDB.HOWTO description updated c/src/lib/libbsp/i386/pc386/startup/exit.c last output before call to exit() will be printed properly on serial console c/src/lib/libbsp/i386/pc386/startup/irq.c re-submitted bug fix for problem in irqs over 7.
* Added set attributes routine but did not hook it in to the table.Joel Sherrill1998-07-092-13/+110
| | | | Switched to shared default probe.
* Added new files.Joel Sherrill1998-07-091-1/+3
|
* Renamed so we could have one file per routine.Joel Sherrill1998-07-091-37/+0
|
* Switched to shared default probe routine.Joel Sherrill1998-07-091-14/+3
|
* Switched to default probe routine.Joel Sherrill1998-07-091-17/+2
|
* Added new baud rate to number function and default serial probe routine.Joel Sherrill1998-07-094-0/+107
| | | | | Renamed sersupp.c so we could have one routine per file to decrease the baggage pulled into an application by default.
* Commented out the system call invocation since we don't know what worksJoel Sherrill1998-07-091-0/+2
| | | | with this ROM monitor.
* Removed call back to exit() since that has already been called.Joel Sherrill1998-07-091-1/+1
|
* Added proper handling of extended baud rate table selection at boot time.Joel Sherrill1998-07-091-1/+6
| | | | Still need to address default terminal settings.
* Properly handle extended baud rate set commands.Joel Sherrill1998-07-091-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.
* Corrected definition of MC68681_RX_BUFFER.Joel Sherrill1998-07-091-1/+1
|
* Corrected z85c30 address and clock constants.Joel Sherrill1998-07-091-4/+4
|
* Added board specific baud rate table and set driver function tableJoel Sherrill1998-07-092-16/+206
| | | | to polled.
* Changed static to MC68681_STATIC to make all data and routinesJoel Sherrill1998-07-091-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.
* Removed commented out line.Joel Sherrill1998-07-091-1/+0
|
* Added sersupp.c.Joel Sherrill1998-07-091-1/+1
|
* New files to contain generally needed serial driver support routines.Joel Sherrill1998-07-092-0/+50
|
* Changed static to MC68681_STATIC to make all routines and data globalJoel Sherrill1998-07-091-11/+20
| | | | to ease debugging.