aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Supported to sound beep.Yoshihiro Takahashi1999-12-031-1/+17
| | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=54086
* pc98/pc98/atapi.cYoshihiro Takahashi1999-12-034-34/+992
| | | | | | | | | | | | | | Copied from i386/isa/atapi.c. Fixed to support slave devices. Ignore the device that has strange model strings. i386/isa/atapi.c Removed pc98 codes. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=54083
* Change splbio() to splcam(). bs is cam driver.Yoshihiro Takahashi1999-12-032-4/+6
| | | | Notes: svn path=/head/; revision=54079
* Sync with sys/i386/conf/GENERIC revision 1.208.Yoshihiro Takahashi1999-12-032-2/+0
| | | | Notes: svn path=/head/; revision=54078
* Make the stub routines have the same prototypes as the real bpfJulian Elischer1999-12-031-1/+1
| | | | | | | routines. Notes: svn path=/head/; revision=54075
* correct incomplete last changeMatt Jacob1999-12-031-1/+1
| | | | Notes: svn path=/head/; revision=54074
* Remove the 'ivars' arguement to device_add_child() andMatthew N. Dodd1999-12-0371-118/+189
| | | | | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr Notes: svn path=/head/; revision=54073
* Set RB_VERBOSE into boothowto (provide proper layering from boot loaderMatt Jacob1999-12-031-1/+3
| | | | | | | | | (eventually) settings to kernel settings). Prototype read_random to quiesce a warning. Notes: svn path=/head/; revision=54060
* roll platform minorMatt Jacob1999-12-031-1/+1
| | | | Notes: svn path=/head/; revision=54059
* clean up sprintf and have buffer that won't overflowMatt Jacob1999-12-031-34/+66
| | | | Notes: svn path=/head/; revision=54058
* turn some messages into CFGPRINT messagesMatt Jacob1999-12-031-5/+5
| | | | Notes: svn path=/head/; revision=54057
* Define name length differently for alpha in order to preserveJordan K. Hubbard1999-12-031-0/+5
| | | | | | | | | | backwards compatibility. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> Reviewed by: mckusick Notes: svn path=/head/; revision=54051
* Fix the 'usb0: USB revision unknown, not supported' people have been seeingNick Hibma1999-12-035-32/+26
| | | | | | | | | | | by identifying the version in the PCI drivers. The OHCI driver just presets this to 1.0 as it is not specified in the PCI registers anywhere. This should be revisited once USB 2.0 is in wide spread use. Notes: svn path=/head/; revision=54050
* Remove the 'alpha, use at your own risk' death-statement.Bill Fumerola1999-12-031-4/+1
| | | | | | | Reviewed by: mckusick (verbally at FreeBSDcon) Notes: svn path=/head/; revision=54049
* Fix typo, add $FreeBSD$Bill Fumerola1999-12-032-2/+6
| | | | Notes: svn path=/head/; revision=54048
* Remove the 'gzip' image activator. We're not using a.out anymore, so saveMike Smith1999-12-032-2/+0
| | | | | | | ourselves just over 8k. Notes: svn path=/head/; revision=54046
* Print device names for children that fail to detach.Warner Losh1999-12-021-1/+3
| | | | | | | | | | Free child array when we're done with it. Forgotten by: imp Submitted by: Nick Hibma <hibma@skylink.it> Notes: svn path=/head/; revision=54043
* Make pccardc beep actually work. The kernel was doing the wrong thingWarner Losh1999-12-023-9/+11
| | | | | | | | | | | with the beep information it had (like ignoring it). Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro) Add $FreeBSD$ to pccard_beep.c while I'm here. Notes: svn path=/head/; revision=54040
* Reserve 138 for usio, the USB sio driver by Doug Ambrisko, Whistle.Nick Hibma1999-12-021-6/+7
| | | | | | | Also, change mail address in all case to n_hibma@freebsd.org Notes: svn path=/head/; revision=54039
* Add 'const' to the bpf_filter() and bpf_validate() prototypes.Archie Cobbs1999-12-022-7/+5
| | | | | | | Remove a stale comment from bpf_validate(). Notes: svn path=/head/; revision=54038
* Reserve #137 for nCipher's nFast PCI hardware cryptographicSheldon Hearn1999-12-021-0/+1
| | | | | | | | accelerator, for which open source drivers are under development, for John Hartley <john@ncipher.com>. Notes: svn path=/head/; revision=54036
* In one queue all the TDs (transfer descriptor, packets) for one transferNick Hibma1999-12-021-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | are queued. Traverse the queues vertically and then horizontally. This means that TDs for one xfer are transmitted back to back until the first NAK or error condition. Up to now we transmitted a TD per frame and transmitted the next TD in the next frame. The old approach is more fair if you have the end of the queue point at the beginning of the control transfer queue, but also a lot more overhead due to the fact that the QHs have to be read more often. The new approach squirts the packets down the line as fast as possible for one transfer and then does the next one. In the current situation, with fairly empty USB buses, this is a more sensible approach. We might have to revisit the scheduler later however. It speeds up large transfers (Zip drive, Host-To-Host adapters) on UHCI by a factor of 5 and makes it as fast as OHCI on the bus. The next problem to solve is the question why the limit is 300kb/s and not 1000/kb/s (kb == kilobyte). Notes: svn path=/head/; revision=54035
* Remove check for attached state.Nick Hibma1999-12-021-3/+0
| | | | | | | | | | | | | | sc = devclass_get_softc(devclass, unit); doesn't return NULL during attach anymore, and produces the sc, identical to (for devclass_get_unit(devclass, unit) != NULL that is): sc = device_get_softc(devclass_get_unit(devclass, unit)); Reviewed-by: dfr Notes: svn path=/head/; revision=54031
* Sync with sys/i386/conf/GENERIC revision up to 1.207.Yoshihiro Takahashi1999-12-022-2/+10
| | | | Notes: svn path=/head/; revision=54030
* Remove the "MCA not supported" from RELNOTES.TXT and addMatthew N. Dodd1999-12-023-0/+45
| | | | | | | | | | | | mention of the various devices that are supported. Add some text and entry to LINT for 'controller mca0'. I'd like to turn this option on in GENERIC as well as it isn't impacting and has a small footprint. Notes: svn path=/head/; revision=54027
* /tmp/msgWarner Losh1999-12-022-1/+19
| | | | Notes: svn path=/head/; revision=54021
* Add bus suffix to mii.Daniel C. Sobral1999-12-021-1/+1
| | | | Notes: svn path=/head/; revision=54020
* Add if_ prefix to network drivers.Daniel C. Sobral1999-12-021-14/+14
| | | | Notes: svn path=/head/; revision=54019
* Change the delayed ack time from 200ms to 100ms.Jonathan Lemon1999-12-021-1/+1
| | | | | | | | | | | This results in closer behavior to earlier versions, where the fixed 200ms timer actually resulted in a delay anywhere from 1..200ms, with the average delay being 100ms. Pointed out by: dg Notes: svn path=/head/; revision=54018
* Remove code to select APM version with flags to the apm0 device. ThisJonathan Lemon1999-12-027-50/+10
| | | | | | | | | code has been disabled for the last 4 months. Prodded into action by: n_hibma Notes: svn path=/head/; revision=54017
* Grammar nit.Bill Fumerola1999-12-023-3/+3
| | | | Notes: svn path=/head/; revision=54016
* Add the AMI MegaRAID and Mylex DAC960 drivers. Installation to arraysMike Smith1999-12-022-0/+8
| | | | | | | | on these controllers is now no different to the process for any other supported disk controller. Notes: svn path=/head/; revision=54013
* Use m_dup() instead of m_copypacket() to duplicate the mbuf chain.Archie Cobbs1999-12-011-1/+1
| | | | | | | | This fixes a bug where if the original packet was modified downstream of the tee node, then the copy could get modified too. Notes: svn path=/head/; revision=54007
* Eliminate compiler warning.Archie Cobbs1999-12-014-4/+4
| | | | Notes: svn path=/head/; revision=54006
* The functions m_copym() and m_copypacket() return read-only copies,Archie Cobbs1999-12-012-0/+79
| | | | | | | | | | | | | | | because in the case of mbuf clusters they only increment the reference count rather than actually copying the data. Add comments to this effect, and add a new routine called m_dup() that returns a real, writable copy of an mbuf chain. This is preliminary work required for implementing 'ipfw tee'. Reviewed by: julian Notes: svn path=/head/; revision=54002
* Add more comments describing how to use parse types and how they work.Archie Cobbs1999-12-011-46/+165
| | | | Notes: svn path=/head/; revision=53998
* Show how to supply a struct ng_cmdlist for (de)asciificationArchie Cobbs1999-12-012-7/+49
| | | | | | | | | of control messages. Suggested by: julian Notes: svn path=/head/; revision=53997
* Preferentially allocate the first indirect block in the sameKirk McKusick1999-12-011-1/+1
| | | | | | | | cylinder group as the inode. This makes a 15% difference in read speed for files in the 96K to 500K size range. Notes: svn path=/head/; revision=53996
* Add fairings. Do not depend on user actually supplying the argumentsDaniel C. Sobral1999-12-011-0/+4
| | | | | | | he is supposed to supply. Notes: svn path=/head/; revision=53993
* Cosmetic changes to comments:Sheldon Hearn1999-12-013-24/+24
| | | | | | | | | | | | | | * Bring source file references in line with the style used in GENERIC (i.e. src/sys/...). * Update outdated source file references. * Use proper URL syntax for URLs. * Update outdated URLs. PR: 15194 Submitted by: jedgar@fxp.org (Chris D. Faulhaber) Notes: svn path=/head/; revision=53992
* Forgot to commit this in last commit.Warner Losh1999-12-011-0/+1
| | | | Notes: svn path=/head/; revision=53991
* A port of NetBSD's AlphaServer 1000 and 1000A support. Thanks to CristianAndrew Gallatin1999-12-018-2/+426
| | | | | | | | | | | | | Angelini for allowing me to use his AS1000 to do the port. Note that this is untested on AlphaServer 1000A hardware. Reviewed by: dfr Tested by: Cristian Angelini <chr.ang@biella.alpcom.it> Obtained From: NetBSD Notes: svn path=/head/; revision=53990
* The 6th bit of configuration port is not defined on pc98.Yoshihiro Takahashi1999-12-011-0/+4
| | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=53988
* Sync with sys/isa/sio.c revision 1.276.Yoshihiro Takahashi1999-12-012-32/+8
| | | | Notes: svn path=/head/; revision=53986
* Initialize type correctly.Poul-Henning Kamp1999-12-011-1/+3
| | | | Notes: svn path=/head/; revision=53984
* Add NULL for new entrypoint.Julian Elischer1999-12-011-1/+2
| | | | Notes: svn path=/head/; revision=53982
* Add explicit null entries for new entrypoints.Julian Elischer1999-12-016-6/+12
| | | | | | | Forgotten by: Archie Notes: svn path=/head/; revision=53981
* change intial timeout for session negotiation from 1 to 2 seconds.Julian Elischer1999-12-012-2/+4
| | | | | | | One second was being hit too many times in normal situations. Notes: svn path=/head/; revision=53979
* Fix the hang on card eject problem and maybe the hang on suspendWarner Losh1999-12-015-60/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem. o Create new timeout routine so we don't detach the card inside a ISR but instead drop back to spl0 via a timeout of 0. o Actually delete the child of the pccard device rather than just faking it badly. o Fix sio, ed and ep to have pccard detach routines that are int rather than void. o Fix ep and ed pccard detach routines to use if_detach rather than just if_down. if_detach destroys the device, while if_down just marks it down. In this incarnation of the pccard things, we map the disable the slot action to detach the driver, which removes the driver from the device tree. When that is done, a panic would soon follow as the ifconfig tried to down the device. Didn't fix: o Should cache the pccard dev child's pointer in struct slot o remove now unused parts of struct slot o Any driver using softc after detach has been called. sio's softc used to be statically allocated, so you could check sc->gone, but that is now gone. o Didn't remove gone from softc of drivers that use the old pccard method. Didn't test: o ed driver changes o sio driver changes on pccards o suspend (no laptop or apm support on my desktop) Notes: svn path=/head/; revision=53978
* Separate some common sysctl code into sysctl_find_oid() and callingBrian Feldman1999-12-012-68/+67
| | | | | | | | thereof. Also, make the errno returns _correct_, and add a new one which is more appropriate. Notes: svn path=/head/; revision=53977