summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
Commit message (Collapse)AuthorAgeFilesLines
* The first stage of console driver reorganization: activate newyokota1999-01-115-410/+447
| | | | | | | | | | | | | keyboard and video card drivers. Because of the changes, you are required to update your kernel configuration file now! The files in sys/dev/syscons are still i386-specific (but less so than before), and won't compile for alpha and PC98 yet. syscons still directly accesses the video card registers here and there; this will be rectified in the later stages.
* Fix broken low level ppb_rxxx() return type: char becomes u_char.nsouch1999-01-102-18/+18
| | | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Some ppb bootup printfs simplified.
* Major ppbus commit with:nsouch1999-01-102-52/+486
| | | | | | | | | | | | | | | | | | | + ECP parallel port chipset FIFO detection + DMA+FIFO parallel I/O handled as chipset specific + nlpt updated in order to use the above enhanced parallel I/O. Use 'lptcontrol -e' to use enhanced I/O + Various options documented in LINT + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for an overview of the IEEE1284 standard + Detection of PnP parallel devices at boot + Read capability added to nlpt driver to get IEEE1284 compliant printer status with a simple 'cat /dev/lpt0' + IEEE1284 peripheral emulation added to BYTE mode. Two computers may dialog according to IEEE1284 signaling method. See PERIPH_1284 option and /sys/dev/ppbus/ppi.c All this code is supposed to provide basic functions for IEEE1284 programming. ppi.c and nlpt.c may act as examples.
* Removed the asm version of translate_bytes(). When both the Cbde1999-01-091-29/+0
| | | | | | version and the asm version are inlined, and everything is cached, the asm version is 1.75 times slower than the C version on P5's. On K6's, it is only 1.25 times slower.
* Removed buggy, `#if 0'ed asm version of translate_bytes() instead ofbde1999-01-091-18/+0
| | | | | | | fixing it. See rev.1.22 of ../sound/audio.c for fixes. When both the C version and the asm version are inlined, and everything is cached, the asm version is 1.75 times slower than the C version on P5's. On K6's, it is only 1.25 times slower.
* Don't put operands in clobber lists, since this is dubious for oldbde1999-01-091-4/+6
| | | | | | | | | | versions of gcc and broken for current versions of egcs. The asm here (for translate_bytes()) is now an interesting example of one that needs to be volatile to work. Fixed missing "memory" in the clobber list for translate_bytes(). Submitted by: "John S. Dyson" <dyson@iquest.net> but rewritten by me
* Add the new keyboard driver and video card driver. They will beyokota1999-01-093-0/+2421
| | | | | | used by console drivers. (They are not yet activated yet. Wait for announcement later.)
* Unspammed includes in <machine/cpufunc.h> in the !SMP case. Partiallybde1999-01-084-4/+16
| | | | unspammed them in the SMP case.
* Moved declarations related to copying and zeroing to the right place.bde1999-01-081-12/+1
|
* Remove a hard-coded table of kernel console I/O functions exportedyokota1999-01-073-15/+43
| | | | | | | | | | from sc, vt and sio drivers. Use instead a linker_set to collect them. Staticize ??cngetc(), ??cnputc(), etc functions in sc and vt drivers. We must still have siocngetc() and siocnputc() as globals because they are directly referred to by i386-gdbstub.c :-( Oked by: bde
* Move IO_PSMSIZE from kbdio.h to isa.h. I thought I did this a long timeyokota1999-01-063-8/+7
| | | | | | | ago... While I am here, correct the values for IO_MDASIZE and IO_CGASIZE; they should be 12 rather than 16.
* Fix YMF719 detection (report by jose@we.lc.ehu.es).luigi1999-01-041-4/+9
| | | | | Fix compile problems without "controller pnp0" (fix by German Tischler)
* Bring in ad1816 patches from German Tischler.luigi1999-01-045-8/+604
| | | | | Fix 'device not configured' problem that people were experiencing when only PCI devices are present.
* - Remove bus-dependent addresses from `ic' file.kato1999-01-033-112/+130
| | | | | | | | - Special registers of IO-DATA device's RSA series are defined in ic/rsa.h (new file). Pointed out by: Bruce Evans <bde@zeta.org.au> Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Support following devices:kato1999-01-033-16/+128
| | | | | | | | | | | | | | | | | - on board 2nd CCU - Midori Elec. MDC-926Rs - Midori-Hayes ESP98 - NEC PC-9861K, PC-9801-101 PC-9801-120 - Melco IND-SP and IND-SS - PIO-9032A/B/C - B98-01 and B98-02 - IO-data device RSA-98II and RSA-98III - MC-16550 - MC-RS98 - Media Inteligent RSB-2000/3000 and RSB-384 - PCMCIA modem card Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Extraneous space.hoek1999-01-022-4/+4
|
* unbreak devfs support after wrong cut&paste...luigi1999-01-011-17/+16
| | | | ReportedBy: Louis A. Mamakos
* Correct typo in macro name.des1999-01-011-2/+2
|
* Minor English and spelling fixes.bde1999-01-011-3/+3
|
* Part 3 of the pcvt/voxware revival.peter1999-01-0110-0/+17319
| | | | Reviewed by: core
* Part 2 of pcvt/voxware revival. I hope I have not clobbered any otherpeter1999-01-0180-0/+37053
| | | | | | | | | deltas, but it is possible since I had a few merge conflicts over the last few days while this has been sitting ready to go. (Part 1 was committed to the config files, but cvs aborted grrr..) Approved by: core
* Extend the callback mechanism and add hooks to support PCI cards.luigi1998-12-315-96/+169
| | | | Remove a few unused variables.
* Update documentation on cards and configluigi1998-12-311-23/+104
|
* Another(better) way to support Access/NOTE N98(PC-98) without any effectskato1998-12-311-6/+7
| | | | | | for other Access/PC series. Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>
* Make the VESA KLD module work!yokota1998-12-302-31/+37
|
* Silence -Wtrigraph.hoek1998-12-302-4/+4
| | | | Submitted by: Bradley Dunn <bradley@dunn.org> (pr: kern/8817)
* CAM support.kato1998-12-2810-298/+362
| | | | | Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp> and Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Fix the move of the ulaw.h file..sos1998-12-271-7/+39
|
* Fix breakage by cleanup.sos1998-12-274-16/+80
|
* Pre 3.0 branch cleanup sos#2: soundsos1998-12-2780-37053/+0
| | | | Superceded by the snd driver...
* Pre 3.0 branch cleanup sos#1: wcdsos1998-12-271-1400/+0
| | | | Superceded by acd driver...
* Pre 3.0 branch cleanup casualty #6: ftphk1998-12-273-2752/+2
|
* Pre 3.0 branch cleanup casualty #5: nca, sea, wds, uhaphk1998-12-276-5280/+0
| | | | | No CAM drivers available. If somebody CAMifies one of these, they will be welcome back in the tree
* Pre 3.0 branch cleanup casualty #4: pcvtphk1998-12-2710-17319/+0
|
* Pre 3.0 branch cleanup casualty #3: 3c505 ethernet supportphk1998-12-272-894/+0
|
* Pre 3.0 branch cleanup casualty #2: Transputer supportphk1998-12-272-823/+0
|
* Pre 3.0 branch cleanup casualty #1: DSI_SOFT_MODEM support.phk1998-12-271-158/+1
|
* Flush the fifos at the correct place in cyopen(). Various thingsbde1998-12-241-31/+17
| | | | | | | | | | | in cyopen() were done in a different order than in sioopen(), partly to (ab)use a side effect of comparam() and partly because I didn't understand what the reset was doing (it flushes the fifos). This turned out to be more than a cosmetic problem. Flushing the fifos quite late is good for discarding input that arrived while the line state was being initialized, and in the cy driver it also seems to reduce a problem with input that arrived long ago during the previous close (the UART loses sync too easily and for too long).
* Correct the wrong PCI-IDE probing on AcerLabs Aladdin-V chipset. It won'tfoxfair1998-12-241-4/+14
| | | | | | | | | change the original code but add an extra option "ALI_V" to check the precise IDE port.(especially, secondary) Use the same option "ALI_V" on the kernel config file to prevent generic DMA check causes wrong result. (It seems buggy even on PIIX4 chipset, and I don't know when this bug start) Should I add the option "ALI_V" into /sys/i386/conf/LINT ?
* Don't leave the CDROM tray locked if an attempt to mount it is made andmsmith1998-12-231-1/+2
| | | | | | the drive is actually empty. Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
* Staticize the overrun buffer so that they are not shared betweengibbs1998-12-221-4/+4
| | | | | | | cards of different bus types as each bus type may have a different bus mapping. Submitted by: Eivind Eklund <eivind@yes.no>
* As promised, cleanup the #if __FreeBSD_version mess.joerg1998-12-211-41/+3
|
* This commit was generated by cvs2svn to compensate for changes in r41980,joerg1998-12-212-0/+1680
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * This is my first cut on a driver for the RealTek RTL 8002 pocketjoerg1998-12-212-0/+1680
| | | | | | | | | | | | | | | | | | | | | | | | | | ethernet driver. The BUGS section is still impressive, but the driver seems to work for me now. Disclaimer: i haven't been able to test this under -current so far (but it compiles, and the notebook it's intended for can now be updated to -current more easy than before). Don't be afraid of the many #ifdefs on __FreeBSD_version in the imported file; i want them in the repository on the vendor-branch so other people can also manually integrate it into older systems. I'll clean it up on the -current branch in a followup commit. The vendor-banch version right now supports systems back to 2.2R. This driver should be layered upon ppc(4), but i currently have no idea how to do this. Eventually i'll further develop the driver to also support the more modern RTL 8012 success, which seems to be present in a number of cheap pocket ethernet adapters these days. Right now, i doubt it will run with the 8012 without any changes. Finally a big Thanks! to RealTek for promptly providing me with documentation and with the source code for the 8012 pocket driver upon request. I wish all vendors were that cooperative!.
* Wait for channel commands to complete after issuing the commands.bde1998-12-191-15/+29
| | | | | | | | | | The optimisation of only waiting before issuing new commands is obviously invalid in general and it caused many errors in NIST-PCTS. I think the errors were mostly for characters sent with the wrong parity, etc., after a half complete tcsetattr(). Use microtime() instead of a magic loop count to limit the wait. The wait is a busy-wait :-( and normally takes about 500 usec.
* Removed unused (slightly wrong) stub functions.bde1998-12-181-21/+5
| | | | Fixed some staticization obfuscations.
* Flush the tx fifo in cystop(). Now ttyflush() (and thus tcflush(3))bde1998-12-171-3/+4
| | | | | | | | | | almost works properly. Unfortunately, there is no way to flush the rx fifo without resetting the channel, which also flushes the tx fifo. We avoid resetting even when both fifos need to be flushed, since resetting seems to cause the rx to lose sync if it is done while data is arriving. Reminded by: NIST-PCTS
* Fixed handling of BREAK in input. BREAK was not being converted into anbde1998-12-171-3/+7
| | | | | | escape sequence in the `-ignbrk -brkint parmrk' case. Found by: NIST-PCTS
* Oops, this should have been in the previous commit (ensure atomic updatebde1998-12-171-1/+3
| | | | of com->cor[1]).
* Implemented sending of BREAKs. This is quite complicated because thebde1998-12-172-15/+171
| | | | | | | | hardware is interrupt-driven to a fault and sending a BREAK requires mode switching. Always running in the BREAK-capable mode as in PR 8318 would double the overhead for sending \0's. Reminded by: PR 8318
OpenPOWER on IntegriCloud