summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
Commit message (Collapse)AuthorAgeFilesLines
* Use the new if_multiaddrs list for multicast addresses rather than thewollman1997-01-135-140/+66
| | | | | | | previous hackery involving struct in_ifaddr and arpcom. Get rid of the abominable multi_kludge. Update all network interfaces to use the new machanism. Distressingly few Ethernet drivers program the multicast filter properly (assuming the hardware has one, which it usually does).
* Just 'warn' the user that they are mixing dedicated drivers and genericnate1997-01-132-2/+10
| | | | | | | code if the option 'LINT_PCCARD_HACK' is specified (which should only be used in LINT). Demanded by: bde
* kern/2433: Multiple AHA1542 scsi controllers don't workphk1997-01-101-1/+2
| | | | | Reviewed by: phk Submitted by: Virgil Champlin <champlin@pa.dec.com>
* i386/2427: 2.2-BETA ft driver panics when there're no floppy drivesphk1997-01-091-1/+3
| | | | | Reviewed by: phk Submitted by: hosokawa@jp.FreeBSD.org
* Make the code more consistant by using the INTR*MASK macros througout thenate1997-01-081-2/+2
| | | | | | | | | | | code. Reviewed by: bde [ Bruce suggest removing the macros completely, but I'm not up to that task quite yet. ]
* Changed magic # 0xa0000 -> ISA_HOLE_START since it's now defined.nate1997-01-081-2/+2
|
* Undo RCS keyword change to keep the original `$NetBSD$'.kato1997-01-0514-14/+14
| | | | Pointed out by: j@uriah.heep.sax.de (J Wunsch)
* Fix for PR/2333 - psm0 panics if no mouse attached:nate1997-01-051-2/+7
| | | | | | | The problem is that `psmopen()' doesn't validate a pointer before using it. Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Reenabled i586_optimized_copyin/out yet again.bde1997-01-041-3/+1
|
* Change types of wdp_cylinders, wdp_heads and wdp_sectors in structkato1997-01-041-4/+4
| | | | | | | | | | | wdparams from short into u_short. If wdp_cylinders is short, it overflows and cause serious sign extension bug when large IDE HDD is used. These members are only used for initialization of u_long variables in both 3.0-current and RELENG_2_2 branch. I believe this should be in 2.2. Reviewed by: Bruce Evans <bde@zeta.org.au>
* A couple of changes for proper mpu401 recognition, and an opl3 patchjkh1996-12-303-15/+21
| | | | | | | taken from the voxware-3.5 distribution. Also some changes to the SB and MPU IRQs to reflect more common/default settings. Submitted-By: Brian Campbell <brianc@netrover.com>
* Apply a similar fix as in gsc.c rev 1.23.joerg1996-12-301-2/+1
| | | | Pointed out by: bde
* Apparently, someone changed the gsc driver to allocate one big bufferjoerg1996-12-301-1/+0
| | | | | | | | | | | | at device attach time, instead of allocating and freeing buffers as necessary. But he or she forgot to remove the line that invalidated the buffer when the device is closed. Therefore, after using the device for the first time, the buffer was incorrectly invalidated and that caused a page fault on the second, and subsequent uses. Closes PR # kern/2319: Using Genius GS-4500 scanner... Submitted by: jmrueda@diatel.upm.es (Javier Martmn Rueda)
* Fixed keeping track of interrupt nesting level across ASTs. It sometimesbde1996-12-291-1/+3
| | | | | became -1, and this recently became fatal if an address error occurs in copyin/out/etc.
* Disabled i586-optimized copyin and copyout again. The fault handlerbde1996-12-281-1/+3
| | | | | | | is still broken - it doesn't restore the floating point state. 2.2-BETA users should disable it using npx0 flags 0x04 the same as 2.2-ALPHA users should have.
* Turn off qcam_debug flag by defaultache1996-12-281-1/+1
| | | | | Should go in 2.2 Reviewed by: pst
* Use breakpoint() instead of Debugger() in siointr1(). Debugger() doesn'tbde1996-12-231-3/+2
| | | | | work in fast interrupt handlers because it calls db_printf() which uses %es for string stuff and %es isn't initialized.
* Fix a bug in the wt driver that could cause memory corruption.joerg1996-12-231-8/+16
| | | | | | | | | | Closes PR # kern/1065. While i was at it, also reject IO requests that are not an integer multiple of the device blocksize. Submitted by: vak@crox.net.kiae.su (Serge V.Vakulenko) Confirmed by: Georg-W. Koltermann (gwk@cray.com)
* Someone needs to teach Nate about the C pre-processor in general and thejkh1996-12-232-4/+4
| | | | | | | | | | workings of #error in particular. He also broke the 2.2 build with this change, leading me to wonder whether or not the changes were ever even tested. Folks, I'm happy to see people work directly on 2.2 like this and will continue to encourage Nate to make direct commits, but please TEST before committing! I think that's a more than reasonable prerequisite, and this code could never have worked at all, leading me to believe that Nate skipped this most basic of steps.
* PCCARD support safety belts.nate1996-12-212-2/+16
| | | | | | | | Don't allow people to use the 'dedicated' drivers at the same time as the generic support code, as it can cause all sorts of problems including kernel crashes. [ definite 2.2 material ]
* Test in mseopen() whether the device has been configured at all, andjoerg1996-12-191-1/+4
| | | | | | | | refuse the open intent with ENXIO otherwise. Closes PR # bin/2226. Reviewed by: bde
* Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>kato1996-12-192-2/+11
| | | | Support 3COM 3C569 network card on PC98.
* Hawaii-Five-Typoalex1996-12-191-3/+3
|
* Disabled half-baked disk statistics support. It didn't actually generatebde1996-12-181-1/+7
| | | | statistics, so it just wasted scarce disk table slots and screen space.
* Convert the interface address and IP interface address structureswollman1996-12-137-46/+12
| | | | | | to TAILQs. Fix places which referenced these for no good reason that I can see (the references remain, but were fixed to compile again; they are still questionable).
* 1) Implement SIOCSIFMTU in ether_ioctl(), and change ether_ioctl's returndg1996-12-102-15/+6
| | | | | | | | | type to be int so that errors can be returned. 2) Use the new SIOCSIFMTU ether_ioctl support in the few drivers that are using ether_ioctl(). 3) In if_fxp.c: treat if_bpf as a token, not as a pointer. Don't bother testing for FXP_NTXSEG being reached in fxp_start()...just check for non-NULL 'm'. Change fxp_ioctl() to use ether_ioctl().
* Delete $NetBSD$, and add $Id$.kato1996-12-0914-14/+14
| | | | 2.2 candidate.
* Fix the broken support for monochrome VGA's.sos1996-12-071-3/+22
| | | | It was MY fault after all, damn..
* Obtained from: NetBSD/pc98 based on NetBSD 1.2kato1996-12-071-0/+54
| | | | Add a missing file of bs driver. It's a 2.2 candidate.
* Fixed handling of modem status changes. Only the most common case ofbde1996-12-051-8/+23
| | | | | connect/hangup in !CLOCAL mode was handled correctly. mgetty and ppp didn't work because they turn on CLOCAL and poll for carrier (or RI?).
* Replace sbic driver (WD33C93 SCSI card driver) with new bs driver.asami1996-12-0416-123/+6079
| | | | | Submitted by: The FreeBSD(98) Development Team Obtained from: NetBSD/pc98 based on NetBSD 1.2
* Synchronize with the RELENG_2_2 branch.asami1996-12-042-13/+51
| | | | | | Definite 2.2 candidate. Submitted by: The FreeBSD(98) Development Team
* PR kern/2141:phk1996-12-031-1/+2
| | | | | | | | | | | function ed_attach_NE2000_pci() in if_ed.c passes an uninitialized block of memory (got with malloc()) to ed_attach. This prevents a proper initialization of the device descriptor and in my case causes a panic during the probe, while printing out device info. Reviewed by: phk Submitted by: Luigi Rizzo <luigi@iet.unipi.it>
* Alot of fixes from kazu:sos1996-12-014-308/+682
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. All the suggestions earlier made by Bruce: renaming some symbols, stricter error checking, removing redundant code, etc. 2. The `psm' driver preserves the default counter resolution and report rate, whatever they are after reset. (Based on reports and suggestion from Nate and Rob Bolin). 3. The `psm' driver now does not check the so-called sync. bit in the first byte of the data packet by default, so that the tapping feature of ALPUS GlidePoint works (based on reports from Louis Mamakos). I tested the code with ALPUS Desktop GlidePoint (M/N GP101) and found no problem; tapping worked. It appears ALPUS produces several models of GlidePoint. I hope the other models are OK too. The check code can still be activated by defining the PSM_CHECKSYNC option in the config file. (The bit checking slightly reduces, if not completely eliminates, weird mouse behavior cased by unsynchronized mouse data packets. It also helps us to detect if the mouse interrupt can ever be lost. But, well, if there are devices which cannot be supported this way...) 4. The `psm' driver does not include the protocol emulation code by default. The code can still be compiled in if the PSM_EMULATION option is specified in the config file. Louis Mamakos suggests the emulation code is putting too much in the kernel, and `moused' works well. I will think about this later and decide if the entire emulation code should be removed. 5. And, of course, the fix in `scprobe()' from Bruce to cure the UserConfig problem. My code in `kbdio.c' is slightly different from his patch, but has the same effect. There still is a possibility that `scprobe()' gets confused, if, for whatever reasons, the user holds down a key for very long time during the boot process. But we cannot cope with everything, can we? Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
* Removed all references to b_cylinder (aka b_cylin). It was evil andbde1996-12-011-2/+2
| | | | | hasn't been used for a year or two since disksort() started sorting on b_pblkno.
* Fixed input of BREAKs when IGNPAR is set and IGNBRK is not set. BREAKsbde1996-11-301-27/+32
| | | | | | | | | are always together with Framing Errors and they were incorrectly treated as FE's and discarded. Reorganized the BREAK/FE/PE tests. Found by: NIST-PCTS
* Reset h/w fifos (if any) in siostop(). Now ttyflush() works fairly wellbde1996-11-301-3/+9
| | | | | | | | with sio devices (not perfectly, since there is no way to flush the tx holding register on 8250-16450's. I'm not sure if resetting the fifos flushes the tx shift register). Reminded by: NIST-PCTS
* Fixed sloppy clearing of TS_BUSY. Don't clear it until the transmitterbde1996-11-301-3/+33
| | | | | | | | is completely empty. There is no interrupt for output completion, so poll for it every 10 ms after output is nearly complete. Now ttywait() works right. Reminded by: NIST-PCTS
* Throw away input if CREAD is not set. POSIX requires no characters to bebde1996-11-301-2/+3
| | | | | | received in this case even if the hardware doesn't have a CREAD bit. Found by: NIST-PCTS
* Cleaned up CONSPEED changes. `comdefaultrate' gives the defaultbde1996-11-301-8/+6
| | | | | speed for the "com" console, not for general purpose "com" ports, so there was no need to split it into comdefaultrate and condefaultrate.
* Reenabled i586-optimized copyin/out.bde1996-11-301-3/+1
| | | | Should be in 2.2. Don't put it there for a while.
* Correct name in probe type. Closes PR# 2122 (with a change, since the PRjkh1996-11-291-1/+1
| | | | | did not actually use the correct name either :-). Submitted-By: Toyonori Fujiura <toyo@exiv.pearnet.org>
* I broke psm.c and none of the 5 reviewers noticed :-)phk1996-11-281-6/+12
|
* Waste less space.phk1996-11-272-42/+47
|
* Fix UserConfig w/syscons.nate1996-11-191-2/+2
| | | | | | | | | | | | | The 'getchar' function in syscons (sccngetc) is used by UserConfig to get keyboard input from the user. When it was modified to use the shared keyboard port routines it used the port passed in during the probe routine. Since the probe routine was not yet called, the port was set to 0, which is obviously not going to work. Pre-initialize sc_port to IO_KBD which is really a kludge, but it's how the previous driver did it's job. Found by: remote GDB
* Disabled i586-optimized copyin and copyout. They usually panic if thebde1996-11-151-1/+3
| | | | | | | user supplies a bad address, because they push a lot of stuff that the fault handler doesn't know about onto the stack. This has been broken for more than half a year despite being tested for almost half a year in -current.
* Break my own rule again - I didn't think this stuff was going to come backjkh1996-11-158-1/+3774
| | | | | | | | | | | | with the copyright stuff fixed so soon (this should be merged into 2.2 when you have a chance, Poul). This is the new AWE32 driver, with support for the AWE32's fancy MIDI synthesizer. The utilities for this will appear as port submissions soon afterwards, according to the submitter. Submitted-By: Randall Hopper <rhh@ct.picker.com> Written-By: Takashi Iwai <iwai@dragon.mm.t.u-tokyo.ac.jp>
* Disable mouse acceleration by default to be the same as the previousnate1996-11-151-2/+2
| | | | driver.
* Patches from driver author in PR#2010.wollman1996-11-151-91/+349
| | | | | | Submitter requests that this patch be merged into 2.2. Submitted by: seki@sysrap.cs.fujitsu.co.jp
* Fix RFC 1650 stats... should have read the doco more carefully.wollman1996-11-151-4/+1
| | | | | | Fixes PR#2011 Submitted by: seki@sysrap.cs.fujitsu.co.jp
OpenPOWER on IntegriCloud