summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Synced with the sc driver in the sys/dev/syscons directory.kato2000-01-2010-1294/+2529
| | | | Submitted by: yokota
* - Add some comment from bde on the keyboard interrupt.yokota2000-01-202-22/+38
| | | | - Fix obsolete comments.
* Do not explicitly create empty option files; they are takenyokota2000-01-201-8/+1
| | | | | | care of by bsd.kmod.mk. Pointed out by: bde
* Do not include `ukbd.h'; it's not used.yokota2000-01-201-1/+0
| | | | Pointed out by: bde
* Unconditionally define sc_paste().yokota2000-01-202-4/+0
|
* Fix wrong usage of FONT_NONE. It was not meant to be set inyokota2000-01-204-5/+4
| | | | | | | scp->font_size in the first place. It is redundant now and is removed. Found by: bde
* Fixed typo.nyan2000-01-202-2/+2
|
* Synced with sys/isa/sio.c rev 1.285.kato2000-01-202-0/+14
|
* Synced with sys/i386/i386/userconfig.c rev 1.169.kato2000-01-201-0/+2
|
* Synced with sys/i386/conf/GENERIC rev 1.230.kato2000-01-202-2/+20
|
* Back out the previous spl change, since it opens a race window.jasone2000-01-201-1/+1
| | | | Reviewed by: alfred, dillon, peter
* Track libc_r addition of semaphores implementation.jasone2000-01-202-20/+32
| | | | Approved by: jkh
* Regen.wpaul2000-01-202-507/+625
|
* More USB ethernet tweaks:wpaul2000-01-2023-524/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sync ohci, uhci and usbdi modules with NetBSD in order to obtain the following improvements: o New USBD_NO_TSLEEP flag can be used in place of UQ_NO_TSLEEP quirk. This allows drivers to specify busy waiting only for certain transfers (namely control transfers for reading/writing registers and stuff). o New USBD_FORCE_SHORT_XFER flag can be used to deal with devices like the ADMtek Pegasus that sense the end of bulk OUT transfers in a special way (if a transfer is exactly a multiple of 64 bytes in size, you need to send an extra empty packet to terminate the transfer). o usbd_open_pipe_intr() now accepts an interval argument which can be used to change the rate at which the interrupt callback routine is invoked. Specifying USBD_DEFAULT_INTERVAL uses the value specified in the device's config data, but drivers can override it if needed. - Change if_aue to use USBD_FORCE_SHORT_XFER for packet transmissions. - Change if_aue, if_kue and if_cue to use USBD_NO_TSLEEP for all control transfers. We no longer force the non-tsleep hack for bulk transfers since these are done asynchronously anyway. - Removed quirk entry fiddling from if_aue and if_kue since we don't need it anymore now that we have the USBD_NO_TSLEEP flag. - Tweak ulpt, uhid, ums and ukbd drivers to use the new arg to usbd_open_pipe_intr(). - Add a flag to the softc struct in the ethernet drivers to indicate when a device has been detached, and use this flag to perform tests to prevent the drivers from trying to do control transfers if this is the case. This is necessary because calling if_detach() with INET6 enabled will eventually result in a call to the driver's ioctl() routine to delete the multicast groups on the interface, which will result in attempts to perform control transfers. (It's possible this also happens even without INET6 support enabled.) This is pointless since we know that if the detach method has been called, the hardware has been unplugged. - Changed watchdog timeout routines to just call the driver init routines to initialize the device states without trying to close and re-open the pipes. This is partly because we don't want to frob things at interrupt context, but also because this doesn't seem to work right and I don't want to panic the system just because a USB device may have stopped responding. - Fix aue_rxeof() to be a little smarter about detecting when a double transfer is needed. Unfortunately, the design of the chip makes it hard to get this exactly right. Hopefully, this will go away once either Nick or Lennart finds the bug in the uhci driver that makes this ugly hack necessary. - Also sync usbdevs with NetBSD.
* When we are execing a setugid program, and we have a procfs filesystemimp2000-01-203-0/+61
| | | | | | | | file open in one of the special file descriptors (0, 1, or 2), close it before completing the exec. Submitted by: nergal@idea.avet.com.pl Constructive comments: deraadt@openbsd.org, sef, peter, jkh
* A few more style cleanupsrwatson2000-01-201-14/+9
| | | | Submitted by: bde
* Move ENTRY and ALTENTRY definitions to asm.h where they belong.jasone2000-01-202-2/+8
| | | | | | Unbreak profiling. Again. Submitted by: bde
* Add the pcdmx theatre lighting controller major numbermsmith2000-01-201-0/+1
|
* Don't tsleep() while at splbio().jasone2000-01-201-2/+12
| | | | | | | Correctly return EINPROGRESS from aio_error() even when an aio request is still in the socket queue. Submitted by: Adrian Chadd <adrian@bofh.co.uk>
* Fix an #ifdef that should have been and #ifndef.archie2000-01-203-3/+3
| | | | Noticed by: Hellmuth Michaelis <hm@hcs.de>
* Port of the PC-98 ppc to the newbus system.kato2000-01-204-648/+1090
|
* Add support for the Davicom DM9102A 10/100 ethernet controller chip.wpaul2000-01-194-10/+46
| | | | | | | | This is just to make sure we initialize the chip correctly: we need to make the sure the port select bit in CSR6 is set properly so that we use the internal PHY for 10/100 support. (The eval boards I have also include an external HomePNA PHY, but I need to play with that more before I can support it.)
* Add parallel port clock driver.jkh2000-01-191-0/+348
| | | | Submitted by: Sascha Schumann <sascha@schumann.cx>
* Import simple driver for a parallel port radio clock which receivesjkh2000-01-196-0/+13
| | | | | | the German legal time (commonly available in Europe). Submitted by: Sascha Schumann <sascha@schumann.cx>
* Quantify the calls to ad_attach and atapi_attach so that disklesssos2000-01-191-0/+4
| | | | or atapiless kernels can be built.
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-1912-145/+128
| | | | | | prettier (?) names, adding some const's around here, et al. Reviewed by: bde
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-195-68/+68
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 2 out of 3. Reviewed by: bde
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-191-12/+25
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 1 out of 3. Reviewed by: bde
* Reference machine/param.h rather than the nonexistentmsmith2000-01-191-2/+2
| | | | | | machine/machparam.h in a comment PR: kern/11178, kern/16128
* Fix a couple of bugs:wpaul2000-01-192-5/+8
| | | | | | | | | - The busy wait hack in usbdi.c was doing its timeout in microseconds instead of milliseconds. - if_aue.c:aue_intr() is creating a bitmask by and'ing two bits when it should be or'ing them. Submitted by: Lennart Augustsson
* Rearrange the probecode, so that 80pin cables can be identifiedsos2000-01-1810-639/+473
| | | | | | | correctly on both master and slave. Smash together the ata_params & atapi_params structures as they are more or less equal anyways. Get rid of the last SYSINIT's in here.
* kludge to fix the end-of-sample repeating bug. i don't know why it happens;cg2000-01-181-5/+9
| | | | | | none of my hw does it, but this should fix it for now. Tested by: wpaul
* update ac97 layer to use device_printf when printing messagescg2000-01-187-12/+15
|
* Cast rman_get_virtual() to a vm_offset_t.billf2000-01-184-4/+4
| | | | Submitted by: msmith
* unbreak (rv -> r), afaik what Mike intended, boots fine on my machinealfred2000-01-184-4/+4
|
* Add another four device ID's for isa pnp modems. The USR's seem to usepeter2000-01-182-0/+14
| | | | | | | the same vendor and logical ID. The rest I am not sure whether they are vendor or logical, but it won't hurt if I've put a vendor ID here as merely will not match. These came from the old sio-pnp code, hence the uncertainty about which ID it is.
* Merge a bug fix from freebsd-current; check m != NULL before touching it,shin2000-01-181-1/+1
| | | | | | | at udp6_ctlinput(). There should be kernel panic at PCCARD suspend etc, before this bug fix. Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
* Add ADS7182 as a known Joystick.peter2000-01-182-0/+2
|
* Add a warning for the snd drivers and a pointer to pcm/sbc/etc.peter2000-01-181-1/+2
|
* Enable POSIX P1003_1B extentions by default; there's no reason I can seejkh2000-01-182-0/+6
| | | | | | not to class them with the SYSV extentions as "optional but damn useful". Also desired by: wollman
* IRIX interoperability -- define ACL_MAX_ENTRIES from MAX_ACL_ENTRIESrwatson2000-01-181-0/+1
|
* Bump __FreeBSD_version due to openssl import.kris2000-01-181-1/+1
|
* Don't mark unallocated resources as active; the goal is to reserve them,msmith2000-01-181-1/+1
| | | | | | and there may be a good reason for them being unallocated (eg. they're nonsensical or not useful). The goal here is simply to reserve them against accidental use by other code.
* Don't try to map memory resources into the kernel until they're actuallymsmith2000-01-184-80/+140
| | | | | | | | activated. Some of the things that get listed as "resources" aren't necessarily suited for this. (This shouldn't be a problem for any driver that correctly passes RF_ACTIVE)
* Need to reset the buffer pointer to avoid reconsidering the same buffermckusick2000-01-181-0/+1
| | | | | | | again (without this the rollback analysis was being lost). Should reduce the write count for most workloads. Submitted by: Craig A Soules <soules+@andrew.cmu.edu>
* add a R_PREV_IDX macromjacob2000-01-181-0/+1
|
* During fastpath processing for removal of a short-lived inode, themckusick2000-01-182-96/+112
| | | | | | | | | | set of restrictions for cancelling an inode dependency (inodedep) is somewhat stronger than originally coded. Since this check appears in two places, we codify it into the function check_inode_unwritten which we then call from the two sites, one freeing blocks and the other freeing directory entries. Submitted by: Steinar Haug via Matthew Dillon
* Need to reorganize the flushing of directory entry (pagedep) dependenciesmckusick2000-01-182-126/+124
| | | | | | | | | | | | | | so that they never try to lock an inode corresponding to ".." as this can lead to deadlock. We observe that any inode with an updated link count is always pushed into its buffer at the time of the link count change, so we do not need to do a VOP_UPDATE, but merely find its buffer and write it. The only time we need to get the inode itself is from the result of a mkdir whose name will never be ".." and hence locking such an inode will never request a lock above us in the filesystem tree. Thanks to Brian Fundakowski Feldman for providing the test program that tickled soft updates into hanging in "inode" sleep. Submitted by: Brian Fundakowski Feldman <green@FreeBSD.org>
* Add the vendor/device ID for the Farallon PN9000SX gigabit ethernetwpaul2000-01-184-0/+18
| | | | card, which is apparently also a Tigon 2 device.
* Change the mechanism by which we detect that the firmware is alreadywpaul2000-01-171-24/+19
| | | | | | | | | | | running. It turns out that trying to read the MAC address when there's no firmware creates a zero length transfer. This apparently doesn't hurt anything on a UHCI controller, but OHCI controllers generate an IOERROR, and the device doesn't initialize. Instead, check the bcdDevice revision code. We know this will be different when the firmware is running, so if we detect the firmware's code instead of the bare hardware's code, we skip the firmware load.
OpenPOWER on IntegriCloud