Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch from Dario Alcocer <alcocer@connectnet.com>. His comments: | Joel Sherrill | 1998-07-17 | 1 | -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 Sherrill | 1998-07-16 | 1 | -1/+2 |
| | |||||
* | Minor corrections for typos to get it to compile. | Joel Sherrill | 1998-07-16 | 1 | -2/+2 |
| | |||||
* | Split default baud rate table into its own file. This shrinks the | Joel Sherrill | 1998-07-16 | 5 | -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 default | Joel Sherrill | 1998-07-15 | 2 | -8/+8 |
| | | | | register access routines. | ||||
* | Fixed typos. | Joel Sherrill | 1998-07-15 | 4 | -4/+7 |
| | |||||
* | Switched to usign the default z8530 and mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 7 | -272/+17 |
| | |||||
* | Added default z85c30 register access routines. | Joel Sherrill | 1998-07-15 | 3 | -1/+129 |
| | |||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 5 | -12/+142 |
| | |||||
* | Added check for proper deviceType to interrupt processing code. | Joel Sherrill | 1998-07-15 | 2 | -2/+4 |
| | |||||
* | Added interrupt mask and interrupt status register bit constants. | Joel Sherrill | 1998-07-15 | 1 | -1/+24 |
| | | | | | Added prototype for mc68681_build_imr(), mc68681_process(), and mc68681_enable_interrupts(). | ||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 1 | -0/+49 |
| | |||||
* | Switched from driver's own buffering to using termios. This eliminated | Joel Sherrill | 1998-07-15 | 1 | -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 Sherrill | 1998-07-15 | 2 | -0/+8 |
| | |||||
* | Added default mc68681 register access routines. | Joel Sherrill | 1998-07-15 | 1 | -1/+2 |
| | |||||
* | Added SCV64_Get_Interrupt_Enable(). | Joel Sherrill | 1998-07-15 | 1 | -4/+8 |
| | | | | Added proper headers to routines. | ||||
* | Added SCV64_Get_Interrupt_Enable(). | Joel Sherrill | 1998-07-15 | 1 | -0/+1 |
| | |||||
* | Added chip type identifier field. This was necessary because a single | Joel Sherrill | 1998-07-15 | 2 | -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 Sherrill | 1998-07-15 | 1 | -1/+14 |
| | | | | The scheme used in the mc68681 is the one to follow. | ||||
* | Added comments. | Joel Sherrill | 1998-07-15 | 2 | -6/+54 |
| | |||||
* | Added comments. | Joel Sherrill | 1998-07-15 | 1 | -1/+8 |
| | |||||
* | Masked out interrupts not being used prior to processing the status register. | Joel Sherrill | 1998-07-15 | 1 | -1/+9 |
| | |||||
* | Added routine to return interrupt mask. Added comments. | Joel Sherrill | 1998-07-15 | 1 | -3/+28 |
| | |||||
* | Added scv64 subdirectory. | Joel Sherrill | 1998-07-15 | 1 | -1/+1 |
| | |||||
* | Switched to SCV64. | Joel Sherrill | 1998-07-15 | 1 | -23/+58 |
| | |||||
* | Added CSCV64 functions and addresses. | Joel Sherrill | 1998-07-15 | 1 | -10/+56 |
| | |||||
* | Switched from polling to interrupts and in the process added a conditional | Joel Sherrill | 1998-07-15 | 2 | -8/+34 |
| | | | | | compilation section which used CONSOLE_USE_INTERRUPTS to switch all ports between interrupt and polled mode. | ||||
* | Added scv64 subdirectory. | Joel Sherrill | 1998-07-15 | 1 | -1/+1 |
| | |||||
* | New files. | Joel Sherrill | 1998-07-15 | 2 | -0/+202 |
| | |||||
* | Switched deviceOutputUsesInterrupts to TRUE so output would be interrupt | Joel Sherrill | 1998-07-15 | 1 | -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 Sherrill | 1998-07-15 | 1 | -1/+1 |
| | |||||
* | Patch from Quality Quorum <qqi@world.std.com>. Comments: | Joel Sherrill | 1998-07-10 | 3 | -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 Sherrill | 1998-07-09 | 2 | -13/+110 |
| | | | | Switched to shared default probe. | ||||
* | Added new files. | Joel Sherrill | 1998-07-09 | 1 | -1/+3 |
| | |||||
* | Renamed so we could have one file per routine. | Joel Sherrill | 1998-07-09 | 1 | -37/+0 |
| | |||||
* | Switched to shared default probe routine. | Joel Sherrill | 1998-07-09 | 1 | -14/+3 |
| | |||||
* | Switched to default probe routine. | Joel Sherrill | 1998-07-09 | 1 | -17/+2 |
| | |||||
* | Added new baud rate to number function and default serial probe routine. | Joel Sherrill | 1998-07-09 | 4 | -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 works | Joel Sherrill | 1998-07-09 | 1 | -0/+2 |
| | | | | with this ROM monitor. | ||||
* | Removed call back to exit() since that has already been called. | Joel Sherrill | 1998-07-09 | 1 | -1/+1 |
| | |||||
* | Added proper handling of extended baud rate table selection at boot time. | Joel Sherrill | 1998-07-09 | 1 | -1/+6 |
| | | | | Still need to address default terminal settings. | ||||
* | Properly handle extended baud rate set commands. | Joel Sherrill | 1998-07-09 | 1 | -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 Sherrill | 1998-07-09 | 1 | -1/+1 |
| | |||||
* | Corrected z85c30 address and clock constants. | Joel Sherrill | 1998-07-09 | 1 | -4/+4 |
| | |||||
* | Added board specific baud rate table and set driver function table | Joel Sherrill | 1998-07-09 | 2 | -16/+206 |
| | | | | to polled. | ||||
* | Changed static to MC68681_STATIC to make all data and routines | Joel Sherrill | 1998-07-09 | 1 | -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 Sherrill | 1998-07-09 | 1 | -1/+0 |
| | |||||
* | Added sersupp.c. | Joel Sherrill | 1998-07-09 | 1 | -1/+1 |
| | |||||
* | New files to contain generally needed serial driver support routines. | Joel Sherrill | 1998-07-09 | 2 | -0/+50 |
| | |||||
* | Changed static to MC68681_STATIC to make all routines and data global | Joel Sherrill | 1998-07-09 | 1 | -11/+20 |
| | | | | to ease debugging. |