summaryrefslogtreecommitdiffstats
path: root/c/src/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Eric Valette <valette@crf.canon.fr> and Emmanuel RaguetJoel Sherrill1998-07-247-62/+85
| | | | <raguet@crf.canon.fr> to make their patches work together.
* Patch from Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1998-07-236-3/+738
| | | | | | | | | | | | Here is a patch for KA9Q stack. This patch contains an Ethernet Driver for Western Digital, some fixes for the UDP and TCP protocols (for endian conversion) and some little programs which allow the test of UDP and TCP sockets via Ethernet. I have tested that on an Intel machine. If someone can test it on a big-endian machine, ...
* Patch from Eric VALETTE <valette@crf.canon.fr>:Joel Sherrill1998-07-2326-114/+2718
| | | | | | | | | | | | | Here is a enhanced version of my previous patch. This patch enables to potentially share the new interrupt management code for all Intel targets (pc386, go32 and force386) bsp. Note : this patch is complete only for pc386. It still needs to be completed for go32 and force386. I carrefully checked that anything needed is in for force386 (only some function name changes for IDT manipulation and GDT segment manipulation). But anyway I will not be able to test any of theses targets...
* Removed consolex from build list. This file should be obsoleted by theJoel Sherrill1998-07-231-1/+3
| | | | libchip, libio, and termios efforts.
* Fix from Chris Johns <ccj@acm.org>. Comments:Joel Sherrill1998-07-211-8/+3
| | | | | Mask interrupts and save the current USP and MSP for all 68000 processor variants.
* Changed so we could test interrupts on port 3.Joel Sherrill1998-07-182-4/+4
|
* Removed use of data port for z8530.Joel Sherrill1998-07-182-90/+54
| | | | Move some code around.
* Removed use of data port for z8530.Joel Sherrill1998-07-182-14/+14
| | | | | Tested all four ports. MC68681 as both polled and interrupt. Z8530 as polled only.
* New fileJoel Sherrill1998-07-181-0/+62
|
* Added z85c30 specific probe routine to decide what the clock rate was.Joel Sherrill1998-07-182-8/+52
| | | | | | This routines could be enhanced to determine if the SCC is present since it appears from the DY-4 manual that a status registers indicates this.
* Addresses for SCC were wrong. A and B ports were swapped.Joel Sherrill1998-07-181-44/+25
| | | | | | | Deleted CSS interface related items. Added items required to access DMA Control and Status Register so we could figure out dynamically what the clock speed of the SCC really is.
* Swapped RX and TX since doing this makes the lights blink on theJoel Sherrill1998-07-181-2/+2
| | | | | | | RS-422 converter. We now see the TD light blink when typing characters in HyperTerminal and when the board is reset we see the RD light blink. This leads us to believe the cabling is basically right.
* Added RS-422 converter information and cable building information.Joel Sherrill1998-07-181-8/+59
|
* Added information on the MC68681.Joel Sherrill1998-07-181-2/+12
|
* Added background and setup to add section on RS-422.Joel Sherrill1998-07-181-11/+21
|
* Reworked to removed dependency on DY-4 CSS ROM monitor interface.Joel Sherrill1998-07-181-5/+2
|
* Removed css_iface.Joel Sherrill1998-07-182-2/+2
|
* Removed. We are no longer dependent on DY-4 CSS interface code.Joel Sherrill1998-07-182-216/+0
|
* New file.Joel Sherrill1998-07-181-0/+26
|
* Initialized tty->refcount to 0. When (for whatever reason) malloc()Joel Sherrill1998-07-171-0/+3
| | | | | | | | | | | | | | returned a buffer which was not zero-filled, the reference count was not correct. When the application exitted, the "lastClose" handler was not being called to flush the output. This problem had manifested itself on a variety of platforms. The function rtems_termios_dequeue_characters() incorrectly incremented the buffer pointers when it was invoked and there were no characters in the ring buffer. This problem had also manifested itself on a variety of platforms. The symptom was a strange repeating of the data in the transmitter buffer when the transmitter serial device was supposed to go idle.
* Added scitab directory.Joel Sherrill1998-07-172-1/+2
|
* Patch fromalf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1998-07-171-0/+61
| | | | | * c/src/lib/libbsp/sh/gensh1/scitab - NEW DIRECTORY Location for building the table generated by shgen
* 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
|