summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* In rev 1.51 of usb_port.h I switched over to using the USB_USE_SOFTINTRjoe2002-09-305-0/+21
| | | | | | | | | | | | | | | code path to fix a bug in the non USB_USE_SOFTINTR path that caused the usb bus to hang and generally misbehave when devices were unplugged. In the process though it also reduced the throughput of usb devices because of a less than optimal implementation under FreeBSD. This commit fixes the non USB_USE_SOFTINTR code in uhci and ohci so that it works again, and switches back to using this code path. The uhci code has been tested, but the ohci code hasn't. It's essentially the same anyway and so I don't envisage any difficulties. Code for uhci submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
* Call bus_set_resource() to set the ioport resource.nyan2002-09-301-0/+2
|
* Turn back on the "SMP: AP CPU #N Launched!" message on normal boots.obrien2002-09-306-12/+6
| | | | | Peter's rev 1.189 should fix the lost console on SCSI-based systems due to this message.
* Add support for DIOCGMEDIASIZE and DIOCGSECTORSIZE.phk2002-09-302-80/+18
| | | | | | Remove all traces of disklabel. Sponsored by: DARPA & NAI Labs.
* If GEOM is in the kernel, take these three out. I have no way ofphk2002-09-305-0/+15
| | | | | | | | testing any modifications to them, they shouldn't even bother with disklabels in the first place and they are just plain obsolete old hardware which should be axed entirely before 5.0-R IMO. Sponsored by: DARPA & NAI Labs.
* Prefix private BIO commands with "FD" so people get a hint that theyphk2002-09-302-22/+22
| | | | | | are in fact private. Sponsored by: DARPA & NAI Labs.
* Add quirk for Apacer HandyDriveguido2002-09-301-0/+7
| | | | MFC after: 1 week
* Don the asbestos underwear and add the code which lets DIOCWDINFOphk2002-09-301-7/+23
| | | | | | write modified disklabels back to disk. Sponsored by: DARPA & NAI Labs.
* Retire g_io_fail() and let g_io_deliver() take an error argument instead.phk2002-09-308-61/+43
| | | | Sponsored by: DARPA & NAI Labs.
* Introduce g_write_data() function.phk2002-09-302-0/+19
| | | | Sponsored by: DARPA & NAI Labs
* Add missing g_enc_le2().phk2002-09-302-0/+9
| | | | Sponsored by: DARPA & NAI Labs.
* Disable the g_sanity() check unless people ask for it in the debugflags.phk2002-09-302-0/+6
| | | | Sponsored by: DARPA & NAI Labs.
* Make sure we don't loose our topology lock in a call_me() handler.phk2002-09-301-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Don't leak memory in case device_add_child_ordered() returns NULL.phk2002-09-301-3/+6
| | | | Found by: FlexeLint
* Only print out the "SMP: AP CPU #N Launched!" message on verbose boots.obrien2002-09-306-24/+24
| | | | The kernel printf() isn't race-free
* Save the FP state in the PCB as that is compatable with releng4 binaries.obrien2002-09-302-0/+20
| | | | | | | This is a band-aid until the KSE pthread committers get back on the ground and have their machines setup. Submitted by: eischen
* HARP driver for the IDT77201/211 NICStAR ATM Adapter (Including Fore LE155).mdodd2002-09-306-0/+4708
| | | | Obtained from: Richard Hodges <rh@matriplex.com>
* Use fcntl.h from inside /sys.obrien2002-09-301-1/+1
| | | | Reviewd by: scottl
* mbuf leak in the error case has been fixed. When we haveimp2002-09-301-1/+3
| | | | | | | an error, go ahead and m_freem the buffer. PR: 32666 Submitted by: Chi-Fung Fan
* Make beep not depend on HZ setting.imp2002-09-291-4/+6
| | | | | | PR: 25201 Submitted by: Akio Marita-san # This is the last part of the PR uncommitted.
* SMIENB not needed, but maybe PCI_CLOCK is, so put it in #if 0'd outimp2002-09-292-6/+9
|
* Parens considered good.imp2002-09-291-1/+1
|
* uh, commit all of the patchjulian2002-09-292-0/+2
|
* commit the version I actually tested..julian2002-09-292-4/+8
| | | | Submitted by: davidxu
* Implement basic KSE loaning. This stops a hread that is blocked in BOUND modejulian2002-09-298-9/+104
| | | | | | | | | from stopping another thread from completing a syscall, and this allows it to release its resources etc. Probably more related commits to follow (at least one I know of) Initial concept by: julian, dillon Submitted by: davidxu
* Fix commentimp2002-09-291-1/+1
|
* Limit the TX key to a valid rangeimp2002-09-292-1/+8
| | | | PR: 39960, 39961 (patches here pointed out problem, but didn't quite fix it)
* Don't leak the bar list for each thing we allocate.imp2002-09-291-1/+3
| | | | | | # This code really needs a rewrite Spotted by the eagle eyes of: phk
* Added some buggy PC-98 PnP cards support.nyan2002-09-293-8/+78
|
* Fixed some of the namespace pollution in rev.1.33. <sys/systm.h> wasbde2002-09-291-1/+0
| | | | | included here because it was once a prerequisite of <sys/mutex.h> although that bug was fixed long ago.
* Include <sys/systm.h> instead of depending on namespace pollution inbde2002-09-292-16/+2
| | | | | <net/if_var.h>. But depend on the standard pollution in <sys/param.h>. Removed unused includes.
* Include <sys/systm.h> instead of depending on namespace pollution inbde2002-09-291-2/+1
| | | | <net/if_var.h>. But depend on the standard pollution in <sys/param.h>.
* Merged from sys/isa/fd.c revision 1.238.nyan2002-09-292-8/+8
|
* Merged from sys/dev/syscons/syscons.c revision 1.389.nyan2002-09-291-5/+5
|
* Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.nyan2002-09-292-18/+16
|
* Fix style nit where conditionally compiled code was unconditionalized,obrien2002-09-291-2/+1
| | | | | | but style(9) was consulted. Submitted by: bde
* lock proc while calling psignaljulian2002-09-292-18/+34
| | | | | | (plus related cleanups) Submitted by: davidxu
* Deal with some SMP races by doing the entire copyin at once ratherpeter2002-09-282-30/+56
| | | | | | | than doing the checks piecemeal and then doing a second copyin later. PR: 38021 Submitted by: davidx (I've tweaked the patch a bit)
* Rename "struct device" to "struct midway_device" to avoid clashingphk2002-09-282-3/+3
| | | | with newbus.
* Move includ of <sys/bus_priate.h> later to get semantic identity ofphk2002-09-281-1/+1
| | | | | | | | device_t the same throughout kernel. This is a very fine point of C which fortunatly does not make any difference in normal circumstances but which due to the pervasiveness of device_t in the kernel can make a lint barf a lot.
* Change a return to a break so the local buffers get properly freeed.phk2002-09-281-1/+1
| | | | | | Spotte by: FlexeLint Reviewed by: rwatson
* s/struct dev_t */dev_t */phk2002-09-281-1/+1
|
* This driver doesn't need to include <sys/bus_private.h> either.phk2002-09-282-2/+0
| | | | Spotted by: FlexeLint
* Disabuse this driver of the notion that it needs to includephk2002-09-282-4/+2
| | | | | | <sys/bus_private.h> to find the unit from a device_t. Spotted by: FlexeLint
* There is no need for start/num to be signed in i386_ldt_args.peter2002-09-282-4/+4
|
* Zero the local-variable mutexes before we call mtx_init() on them,phk2002-09-281-0/+2
| | | | | | | failing to do this may lead mtx_init() to belive they have already been initialized. Detected by: Marc Recht <marc@informatik.uni-bremen.de>
* Repair range checking for reading the ldt list.peter2002-09-282-2/+2
| | | | | PR: 38016 Submitted by: davidx
* When spamming me with a printf(9), under DIAGNOSTIC, at least be nice enoughjmallett2002-09-281-1/+1
| | | | | | | to include a newline. MFC after: 4 days Sponsored by: Bright Path Solutions
* Make P_MAGIC fit in p_magic.phk2002-09-281-1/+1
|
* Add support for the BCM5702x chips.iwasaki2002-09-282-0/+3
| | | | | Reviewed by: jdp MFC after: 1 week
OpenPOWER on IntegriCloud