Commit Graph

2440 Commits

Author SHA1 Message Date
kato
0f0d2d450c Support following devices:
- 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>
1999-01-03 05:03:47 +00:00
hoek
746b760ccd Extraneous space. 1999-01-02 17:11:45 +00:00
luigi
73e4a133ff unbreak devfs support after wrong cut&paste...
ReportedBy: Louis A. Mamakos
1999-01-01 14:53:31 +00:00
des
e28b0e4fb9 Correct typo in macro name. 1999-01-01 14:38:30 +00:00
bde
85cf5d9658 Minor English and spelling fixes. 1999-01-01 14:21:13 +00:00
peter
e6cf3a438f Part 3 of the pcvt/voxware revival.
Reviewed by:	core
1999-01-01 08:23:23 +00:00
peter
d713c6aca4 Part 2 of pcvt/voxware revival. I hope I have not clobbered any other
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
1999-01-01 08:18:13 +00:00
luigi
84df373829 Extend the callback mechanism and add hooks to support PCI cards.
Remove a few unused variables.
1998-12-31 07:34:01 +00:00
luigi
7f0ec02562 Update documentation on cards and config 1998-12-31 07:28:24 +00:00
kato
0539734ce1 Another(better) way to support Access/NOTE N98(PC-98) without any effects
for other Access/PC series.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:21:14 +00:00
yokota
5a32103859 Make the VESA KLD module work! 1998-12-30 11:21:08 +00:00
hoek
5e720f3594 Silence -Wtrigraph.
Submitted by:	Bradley Dunn <bradley@dunn.org>  (pr: kern/8817)
1998-12-30 00:37:44 +00:00
kato
790434fad1 CAM support.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp> and
             	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-12-28 12:46:55 +00:00
sos
6c89567c1b Fix the move of the ulaw.h file.. 1998-12-27 20:09:31 +00:00
sos
8214ce6ac3 Fix breakage by cleanup. 1998-12-27 17:12:02 +00:00
sos
3ea5a3c11d Pre 3.0 branch cleanup sos#2: sound
Superceded by the snd driver...
1998-12-27 14:21:37 +00:00
sos
303c78f8b7 Pre 3.0 branch cleanup sos#1: wcd
Superceded by acd driver...
1998-12-27 13:55:48 +00:00
phk
6c6e9b3514 Pre 3.0 branch cleanup casualty #6: ft 1998-12-27 13:40:57 +00:00
phk
a20df15251 Pre 3.0 branch cleanup casualty #5: nca, sea, wds, uha
No CAM drivers available.  If somebody CAMifies one of these, they
will be welcome back in the tree
1998-12-27 13:06:44 +00:00
phk
eb15c87aad Pre 3.0 branch cleanup casualty #4: pcvt 1998-12-27 12:52:46 +00:00
phk
2225f39db3 Pre 3.0 branch cleanup casualty #3: 3c505 ethernet support 1998-12-27 12:44:57 +00:00
phk
77de2e7413 Pre 3.0 branch cleanup casualty #2: Transputer support 1998-12-27 12:40:07 +00:00
phk
ee35d57124 Pre 3.0 branch cleanup casualty #1: DSI_SOFT_MODEM support. 1998-12-27 12:35:48 +00:00
bde
66eea65587 Flush the fifos at the correct place in cyopen(). Various things
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).
1998-12-24 14:17:57 +00:00
foxfair
e20489fd39 Correct the wrong PCI-IDE probing on AcerLabs Aladdin-V chipset. It won't
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 ?
1998-12-24 06:30:21 +00:00
msmith
cb8b246a39 Don't leave the CDROM tray locked if an attempt to mount it is made and
the drive is actually empty.

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1998-12-23 09:07:40 +00:00
gibbs
b6ee7c1b3f Staticize the overrun buffer so that they are not shared between
cards of different bus types as each bus type may have a different
bus mapping.

Submitted by:	Eivind Eklund <eivind@yes.no>
1998-12-22 18:14:15 +00:00
joerg
7227af22eb As promised, cleanup the #if __FreeBSD_version mess. 1998-12-21 18:11:10 +00:00
joerg
26fd01e252 This commit was generated by cvs2svn to compensate for changes in r41980,
which included commits to RCS files with non-trunk default branches.
1998-12-21 18:01:15 +00:00
joerg
749703c29e This is my first cut on a driver for the RealTek RTL 8002 pocket
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!.
1998-12-21 18:01:15 +00:00
bde
3bb6da1b8b Wait for channel commands to complete after issuing the commands.
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.
1998-12-19 16:28:57 +00:00
bde
c26aa71e02 Removed unused (slightly wrong) stub functions.
Fixed some staticization obfuscations.
1998-12-18 18:07:10 +00:00
bde
b3eb962304 Flush the tx fifo in cystop(). Now ttyflush() (and thus tcflush(3))
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
1998-12-17 19:23:09 +00:00
bde
9cbd1c4cd2 Fixed handling of BREAK in input. BREAK was not being converted into an
escape sequence in the `-ignbrk -brkint parmrk' case.

Found by:	NIST-PCTS
1998-12-17 18:43:08 +00:00
bde
4d682cb5b4 Oops, this should have been in the previous commit (ensure atomic update
of com->cor[1]).
1998-12-17 18:18:06 +00:00
bde
54f96be976 Implemented sending of BREAKs. This is quite complicated because the
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
1998-12-17 17:40:13 +00:00
phk
4674dad527 Straigthen out the use of the tls and tlf callbacks.
Not tested on the if_sr, if_cx and if_ar drivers, but
expected to work just the same as it used to.

Any users of these drivers (or even better: donors
of hardware for them) please contact phk@freebsd.org
so we can test the next batch of changes to if_sppp.
1998-12-16 18:42:38 +00:00
phk
76e92ae704 Best version so far. Flicker floor is now 2e-12. 1998-12-16 11:46:41 +00:00
kato
74bccae1f5 Oops, I forgot to commit two diffs to fe driver. 1998-12-15 15:56:37 +00:00
kato
cc284d2636 PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
as well as several functional additions.

(1) dot3 MIB support.
(2) if_media selection method support.
(3) bridge support.
(4) new boards support. Supported boards are as follows.
    [PC/AT]
     * Fujitsu FMV-180 series
     * Allied-Telesis RE2000 series
     * Allied-Telesyn AT1700 series
     * Gateway Communications G/Ether series
     * UB networks Access/PC ISA series
     * TDK/LANX LAC-AX series
     * ICL EtherTeam16i series
     * RATOC REX-5586/5587
    [PC-98]
     * Allied-Telesis RE1000 series
     * Allied-Telesis RE1000Plus/ME1500 series
     * Contec C-NET(9N)E series
     * Contec C-NET(98)P2 series
     * UB networks Access/PC N98C+ series
     * TDK/LANX LAC-98 series(not tested)

Submitted by: seki@sysrap.cs.fujitsu.co.jp (Masahiro Sekiguchi) and
              chi@bd.mbn.or.jp (Chiharu Shibata)
1998-12-15 15:51:37 +00:00
bde
2f046ef992 Fixed misformatted error messages. wderror() was broken way back
in rev.1.30 (just before FreeBSD-1.1R) to almost match corresponding
breakage in FreeBSD-1.x's diskerr().  FreeBSD-2.x's diskerr() never
had the breakage.
1998-12-15 09:16:57 +00:00
bde
4b989edfb5 Moved the declaration of another non-SMP variable into the non-SMP section. 1998-12-14 19:16:17 +00:00
bde
8079dde378 Ifdefed the declarations of conditionally used variables. 1998-12-14 18:21:34 +00:00
bde
746dcb079d Fixed LINT breakage in previous commit. Option FDC_YE enabled a
syntax error.  Options FDC_YE and DEVFS together enabled references
to a nonexistent variable and calls of a nonexistent function.
1998-12-14 16:29:58 +00:00
mckay
b1c84799bb Fix tabs that should have been spaces. Some were in kernel error messages. 1998-12-14 13:30:29 +00:00
eivind
a5951b43db Fix 3-byte buffer overflow.
Also, while I'm here, fix up some more after those that haven't
noticed #endif isn't a comment introducer.
1998-12-13 23:36:16 +00:00
eivind
1c27a8c0e7 Fix typo - [0], [1], [2], not [0], [1], [3]. 1998-12-13 23:32:44 +00:00
steve
c5ff6e3473 wcd_read_toc returns zero on success and EIO on failure, so change the
test in open to return EIO if non-zero.

PR:		8316
Submitted by:	Masatoshi TAMURA <tamrin@shinzan.kuee.kyoto-u.ac.jp>
1998-12-13 23:30:15 +00:00
eivind
544e5b8db6 Fix typo - sizeof(struct crtl *) -> sizeof(struct ctrl *).
XXX This still assume that bzero() over a field create null-pointers,
which seems a chancy proposition at best.
1998-12-13 23:25:29 +00:00
eivind
8fdbb602f1 Remove warning introduced by the last committer. 1998-12-13 23:00:48 +00:00