summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Don't execute MAC address initialization for non-pccard sn devices.hosokawa2000-01-224-7/+19
|
* Clean up some of the SAF-TE matching code. Addmjacob2000-01-211-10/+16
| | | | a few missing newlines in printouts.
* There seems to be some problems, particularly on alpha, withmjacob2000-01-211-0/+5
| | | | | FAST POSTING enabled for parallel SCSI. Be sure about things and disable it for now.
* updated commentswilko2000-01-214-8/+14
|
* Fix a deadlock between msync(..., MS_INVALIDATE) and vm_fault. Thedillon2000-01-211-25/+29
| | | | | | | | | | invalidation code cannot wait for paging to complete while holding a vnode lock, so we don't wait. Instead we simply allow the lower level code to simply block on any busy pages it encounters. I think Yahoo may be the only entity in the entire world that actually uses this msync feature :-). Bug reported by: Paul Saab <paul@mu.org>
* - Merge from sys/i386/conf/GENERIC rev 1.224, 1.225 and 1.226.nyan2000-01-212-38/+50
| | | | - Reorder network interfaces.
* Add ID for the AMD-756 OHCI controllern_hibma2000-01-212-0/+18
|
* Added support for hex-encoded MAC address of Megahertz X-Jack Ethernet Cardhosokawa2000-01-212-14/+19
| | | | Reviewed by: Warner Losh <imp@village.org>
* Fix the style bugs in the style bugs fix. The style bug fix made theimp2000-01-211-4/+6
| | | | | new function inconsistant with the rest of this file. The spelling and grammer fixes were good and remain.
* Propagate MAC address in CIS tupple to dev/ed/ driver.hosokawa2000-01-213-0/+40
| | | | | | | | Many ed-based Ethernet PC-cards can't get correct MAC address without this patch. Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp> Reviewed by: Warner Losh <imp@village.org>
* Fix style bugs in the last commit.green2000-01-211-10/+8
|
* Remove definition of the unimplemented "control" hook.archie2000-01-2110-16/+6
|
* Add a new TUNSIFPID ioctl to update the tun_pid (recorded inbrian2000-01-212-0/+4
| | | | tunopen) with the current pid.
* Add support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWNn_hibma2000-01-205-10/+17
| | | | | | | | | | methods for USB devices. However: with none of the devices I have here suspend seems to work properly. This is probably a bug in uhci_power which I still have to look at. Prodded and pushed by: Christopher Masto <chris@netmonger.net>
* Remove duplicate includen_hibma2000-01-201-1/+0
|
* Properly remove interrupts if initialisation fails.n_hibma2000-01-202-58/+74
|
* Fix test for deciding when a bulk IN transfer got truncated. I thoughtwpaul2000-01-201-1/+1
| | | | | I fixed this last night, but apparently I only applied the patch to the copy of the code in /dev/brain0.
* bdeize last commit:imp2000-01-201-3/+0
| | | | | | o Remove opt_dontuse.h and ifdef PROCFS Subitted by: bde, peter
* Make devices behind PPBs work on DS10s (and any other single pchip tsunamis)gallatin2000-01-201-9/+1
| | | | | | I was wagering on DEC being elegant & numbering PCI buses normally on machines with one pchip. It looks like they went with consistent -- buses behind ppbs begin with bus 2.
* 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.
OpenPOWER on IntegriCloud