summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in the new madvise() code that would possibly (improperly)dillon1999-02-151-24/+12
| | | | | | | | | free swap space out from under a busy page. This is not legal because the swap may be reallocated and I/O issued while I/O is still in progress on the same swap page from the madvise()'d object. This bug could only occur under extreme paging conditions but might not cause an error until much later. As a side-benefit, madvise() is now even smaller.
* More appropriate fix to the id_irq read during probensouch1999-02-143-9/+9
|
* Only needed to cast array index from char to unsigned char, did notdillon1999-02-141-3/+3
| | | | | also have to cast it to int. (int)(unsigned char)char_exp -> (unsigned char)char_exp.
* On second thought: do previous fux in pcic.c better.guido1999-02-142-9/+3
| | | | Now we just untimeout the call to inserted() if it exists.
* MF3: add SYSVMSGjkh1999-02-142-6/+10
|
* Somehow, it is possible to get a pcicintr() when in the resume process.guido1999-02-141-1/+8
| | | | | | | This will trigger inserted()) to be called twice which confuses pccardd. Add code to not process pcicitr())'s when in the middle of a resume process. The real insertion of cards and the emulated one in the suspend/resume code really do not mix up.
* The way the interrupt id was calculated was wrong and the lptnsouch1999-02-143-6/+6
| | | | | | | driver was thinking irq was enabled although it wasn't. This case was particular to a no-interrupt static configuration. Reported by: "Norman C. Rice" <nrice@emu.sourcee.com>
* Move away from lpt.h data structure definition that only lpt.c relies on.nsouch1999-02-143-43/+59
| | | | Remove if_plip.c dependency to lpt.h.
* Return approriate errors to userland.nsouch1999-02-143-20/+52
|
* Ignore errors from chflags. This makes it possible to make installworlddes1999-02-147-14/+14
| | | | with DESTDIR set to an NFS-mounted file system.
* Fix interrupt handling with DMA. Bit nFault was tested in the control reg.nsouch1999-02-143-15/+30
| | | | instead of the status reg. and check ECP mode before considering nFault.
* Rename nlpt to lpt.nsouch1999-02-1411-165/+126
| | | | | Remove from ppi.c the old depreciated module stuff. Print info when if_plip can't use interrupts.
* Handle correctly iicbus request/release mechanism. Add iicbus allocationnsouch1999-02-132-9/+28
| | | | to the general purpose i/o iic(4) driver.
* Fix smbus allocation and add the alsmb (see alpm(4)) driver.nsouch1999-02-134-18/+29
|
* Add alpm, Acer Aladdin-IV/V/Pro2 Power Management Unit. See alpm(4).nsouch1999-02-133-3/+9
|
* Add alpm.c, Aladdin Power Management SMBus support for the SMBus framework.nsouch1999-02-132-1/+688
| | | | Update pcisupport.c with NALPM and Aladdin USB detection printf.
* Add pci/alpm.c, Aladdin SMBus driver (alpm(4)).nsouch1999-02-131-0/+1
|
* Don't pass PSL_NT to vm86 signal handlers. Some vm86/real modebde1999-02-132-4/+16
| | | | | | | | | | | | | | programs, including msdos, set PSL_NT in probes for old cpu types, although PSL_NT doesn't do anything useful in vm86 or real mode. PSL_NT is even less useful in the signal handlers. It just causes T_TSSFLT faults on return from syscalls made by the handlers. These faults are fixed up lazily so that Xsyscall() doesn't have to be slowed down to prevent them. The fault handler recently started complaining about these faults occurring "with interrupts disabled". It should not have, but the complaints pointed to this bug. PR: 9211
* Add "beep" ioctl. (#10 is reserved for PIOCSVIR)kuriyama1999-02-134-4/+14
| | | | | Obtained from: PAO3 Reviewed by: -current list
* General additional cleanup of VOP API for NFS ops - mainly NFS ignoringdillon1999-02-132-8/+26
| | | | | | | | the API for freeing up cnp's. This cleanup should not effect nominal operation one way or the other since NFS VOPs just happen to be called with flags that match what it actually does to the NAMEI components it gets. Still, if an NFS error occured, there was probably some memory leakage of NAMEI components with certain NFS VOP ops.
* Remove XXX comment in regarsd to why NFS doesn't use VOP_ABORT(). NFSdillon1999-02-131-3/+3
| | | | is being fixed now.
* PR: kern/9970dillon1999-02-132-4/+2
| | | | Remove incorrect vput() in nfs_link()
* Minor optimization to madvise() MADV_FREE to make page as freeable asdillon1999-02-121-1/+7
| | | | | | | possible without actually unmapping it from the process. As of now, I declare madvise() on OBJT_DEFAULT/OBJT_SWAP objects to be 'working and complete'.
* Improved reporting of autodetected speed and duplex.julian1999-02-122-42/+96
| | | | | | | | Now should be able to report speed for cards using NatSemi PHY. (if you have one please let me know if it works as I only have the Intel version) Reviewed by: David Greenman <dg@root.com>
* Fixed -Wcast-qual warnings.bde1999-02-123-9/+9
|
* Fixed fatal type mismatches in the aout case. Const poisoning inbde1999-02-121-5/+5
| | | | db_sym.h had not reached here.
* Correct i/o addresses for dgb & dgmbrian1999-02-123-9/+9
| | | | Submitted for dgm by: Andre Oppermann <opi@opi.flirtbox.ch>
* Fix non-fatal bug in vm_map_insert() which improperly cleareddillon1999-02-122-60/+49
| | | | | | | | | | | OBJ_ONEMAPPING in the case where an object is extended by an additional vm_map_entry must be allocated. In vm_object_madvise(), remove calll to vm_page_cache() in MADV_FREE case in order to avoid a page fault on page reuse. However, we still mark the page as clean and destroy any swap backing store. Submitted by: Alan Cox <alc@cs.rice.edu>
* Sync with sys/i386/i386/machdep.c revision 1.325.kato1999-02-122-2/+16
|
* Do not issue RX and TX reset commands in xl_stop() and xl_init(). On thewpaul1999-02-111-2/+6
| | | | | | | | | | | | | | 3c905B, the RX and TX reset commands also reset the cyclone chip's internal PHY, which causes it to restart its autonegotiation session. This takes a second or two to complete, which makes the interface seem to stop responding for a few seconds every time you do something that reinitializes it. Issuing the RX and TX resets on the older 3c905 boomerang adapters doesn't cause any delay because the boomerang chip requires an external PHY. This should fix the problem where people doing network installs via 3c905B cards experience a delay after the interface is first initialized, among other things.
* Define more registers and fix incorrect (but unused) register bit definitions.julian1999-02-112-20/+58
|
* Define more registers in the PHY unit and use them to report backjulian1999-02-114-18/+164
| | | | | | the result of the media auto negotiation. Reviewed by: David Greenman <dg@freebsd.org>
* Added ioctl REMOTE_GETKEY for Hauppauge Infra-Red Remote Control.roger1999-02-112-34/+206
| | | | | | | | | | | | | | Submitted by Roger Hardiman. Added ioctl TVTUNER_GETCHANSET to discover which regions the bktr driver supports. Submitted by Vsevolod Lobko <seva@alex-ua.com> Added BT848_GPIO_SET_EN,BT848_GPIO_SET_DATA (and GETs) to allow user land control of the GPIO pins. This allows a Radio module on the GPIO port to be controlled. Submitted by Vsevolod Lobko <seva@alex-ua.com> The kernel option BKTR_GPIO_ACCESS must be used to enable the GPIO ioctls. Submitted by: Roger Hardiman and Vsevolod Lobko <seva@alex-ua.com>
* Added new ioctls for Hauppage Infra-Red Remote Control support,roger1999-02-113-6/+75
| | | | | | Obtaining the supported channel sets and Controlling the GPIO port. Submitted by: Roger Hardiman and Vsevolod Lobko <seva@alex-ua.com>
* Zero p->retval[1] when starting a process. This value ends up in %edxmsmith1999-02-112-2/+16
| | | | | | | | when the process starts, and having it nonzero causes statically-linked Linux binaries to fail. PR: i386/10015 Submitted by: Marcel Moolenaar <marcel@scc.nl>
* Set the ultra enable bits in the adaptor's scratch ram area only aftergibbs1999-02-112-40/+38
| | | | we finish modifying our in kernel version during seeprom configuration.
* Make the ahc_eisa file also optional on 'eisa'.gibbs1999-02-112-4/+4
|
* Ensure that the ACK from the last information transfer phase has beengibbs1999-02-111-2/+16
| | | | | de-asserted by the initiator before changing phase or releasing the bus. Corrects a SCSI specification violation in target mode.
* Completely set information in the transaction description before performinggibbs1999-02-111-4/+4
| | | | a selwakeup for it. Cosmetic.
* Correct a race condition where a target mode SCB dma could occurgibbs1999-02-111-7/+8
| | | | | | | before we finished setting the pending phase information. Use the ALL_TARGETS_MASK #define instead of 0xffff for the default ultraenb mask.
* Correct some indentationgrog1999-02-111-37/+48
| | | | | | Implicitly-desired-by: bde update_plex_state: Handle empty RAID-5 plexes correctly
* build_write_request: correct logic for handling writes to volumes withgrog1999-02-111-1/+1
| | | | | | failed plexes. allocrqg: Remove dead code
* check_drive: Make sure that we don't open two different drives withgrog1999-02-111-14/+27
| | | | | | | | | the same name. Silently return EEXIST if this happens. vinum_scandisk: Collect drive numbers, not pointers, to avoid problems of relocated drives. Tripped-over-by: Bernd Walter <ticso@cicely.de>
* In some cases, it's possible that I/O errors will cause the daemon togrog1999-02-111-4/+15
| | | | | | | time out on an operation. Under these circumstances, vinum(8) will automatically start another daemon. Add a pid for the daemon, so that an overtaken daemon will discover that it's no longer in favour, and will crawl into a corner and die.
* Fix typosjkoshy1999-02-112-6/+6
|
* Fixed COPYRIGHT_PC98 (good bye 1998).kato1999-02-101-2/+2
| | | | Noticed by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* Sync with sys/i386/i386/userconfig.c revision 1.130.kato1999-02-101-3/+27
|
* Remove the lpt driver, as discussed on -hackers.des1999-02-106-1418/+11
|
* Remove lpt from the device list.des1999-02-101-3/+3
| | | | Add the rdp driver (forgotten by Joerg?)
* Use ppbus instead of the lpt driver. Throw in a (commented-out) vpo entrydes1999-02-102-4/+16
| | | | for good measure.
OpenPOWER on IntegriCloud