summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* s/p_cred->pc_ucred/p_ucred/gphk1999-11-2117-20/+20
|
* Document new feature (support for write(2) when 1 hook attached).julian1999-11-212-0/+20
|
* Fixes from brian. With some changes from me.julian1999-11-213-43/+74
| | | | | Allows FreeBSD to run as a PPPOE server One patch still not included.
* If vfs_mountroot_try() isn't given a path to try mounting, return a silentmsmith1999-11-212-2/+2
| | | | | error rather than complaining about it verbosely. No path is not really a failure, but the diagnostic was confusing and unuseful.
* Tempt fate and stop index from converting a const char * into a char *.peter1999-11-214-22/+48
| | | | | | | I've made a seperate version (c_index() etc) that use const/const, but I'm not sure it's worth it considering there is one file in the tree that uses index on const strings (kern_linker.c) and it's easily adjusted to scan the strings directly (and is perhaps more efficient that way).
* document new ISP config optionsmjacob1999-11-213-6/+42
|
* Clean up stupidity in the isp_handle_other_response function- indexesmjacob1999-11-211-119/+169
| | | | | | | | of queue entries have to be at least 16 bits now! If we're running a 2100 less than rev 5, turn off loop fairness (per Qlogic errata). Fix typo in checking against 2200 F/W revision. Slightly fix/reorder fabric login stuff. Change to usage of isp_getrqentry for code clarity. Add some defensive dual bus assumptions. Various cleanups, etc...
* Add storage/access for a default WWN. A miscellaneous tweak or two.mjacob1999-11-211-3/+3
|
* Add a isp_getrqentry inline function (that is, find the next availablemjacob1999-11-211-0/+24
| | | | request queue entry if any are left).
* Fix some includes for when we (eventually) get target mode working again.mjacob1999-11-211-54/+77
| | | | | | | Role the core version minor number. Change the arguments to the dma setup function to use a u_int16_t for the output request loop pointer (truly amazing that this hasn't blown up in anyones face so far). Do some shuffling around of some items.
* Put *back* the f/w, this time with a BSD style licence as approvedmjacob1999-11-211-6/+25220
| | | | | | | | | by Qlogic. The firmware is now also kept from compiling by default unless some config options are set. While we're at it, roll the 2200 f/w to 2.01.0. Still need to get the 1.17.26 2100 f/w working as it solves a lot of problems but it doesn't want to work yet with this driver (:-)).
* Add in new Qlogic isp config options:mjacob1999-11-211-0/+7
| | | | | | | | | | | | | | ISP_COMPILE_1020_FW compile in Qlogic 1020/1040 PCI SCSI f/w ISP_COMPILE_1080_FW compile in Qlogic 1080/1240/1280 PCI LVD SCSI f/w ISP_COMPILE_2100_FW compile in Qlogic 2100 Fibre Channel f/w ISP_COMPILE_2200_FW compile in Qlogic 2200 Fibre Channel f/w ISP_COMPILE_FW compile in all firmware (overrides the others) These are not on by default, thus saving about 200KBytes. Additionally: SCSI_ISP_WWN to define a WWN to use
* Fix dmasetup functions to have 16 bit queue indices. Get the chip revisionmjacob1999-11-212-56/+80
| | | | | | out of the PCI CLASS reg and store it in the softc. Use the getenv_quad function to get a WWN override from the environment. Look for a config value for same. Make slightly less lame the wwn seed construction.
* Revert peter's commit to remove cdevsw_add() - it was a bit prematurejkh1999-11-211-0/+2
| | | | | since things fail to function properly without it (pty allocation becomes somewhat haphazard).
* s/Brige/Bridge/.kuriyama1999-11-212-8/+8
|
* Teach the md driver to use preloaded files of type "md_image".phk1999-11-201-68/+128
|
* Minor tweak: the subsystem device ID code for the quad port 62044 cardwpaul1999-11-204-4/+14
| | | | | | | | is documented to be 0x18 in the Adaptec manual, however there appears to be a newer board rev with code 0x19. I added a #define for this and updated the probe code so that this board will be properly identified in the probe messages. (Currently it's just identified generically as an AIC-6915 chip.)
* A process should be able to examine itself.sef1999-11-202-4/+6
|
* changes for the new location of pcmcg1999-11-201-14/+14
|
* repo-copied to make way for newmidi, this commit updates include pathscg1999-11-2017-33/+33
|
* We do not have ffs_checkexp, so remove the prototypeeivind1999-11-201-2/+0
|
* Fix VOP_MKNOD for loss of WILLRELE. I don't know how I could have missedeivind1999-11-202-14/+2
| | | | | | this in the first place :-( Noticed by: bde
* Allow NULL for startp and/or countp in bus_get_resource() so that you canpeter1999-11-204-8/+16
| | | | get one of the two without having to use a dummy variable.
* Get rid of calls to vfinddev() by ripping out code for vnode typephk1999-11-201-26/+0
| | | | which has already been disabled.
* Get rid of calls to vfinddev() by doing like specfs.phk1999-11-201-15/+7
|
* struct mountlist and struct mount.mnt_list have no business beingphk1999-11-2019-76/+68
| | | | | | | | | | a CIRCLEQ. Change them to TAILQ_HEAD and TAILQ_ENTRY respectively. This removes ugly mp != (void*)&mountlist comparisons. Requested by: phk Submitted by: Jake Burkholder jake@checker.org PR: 14967
* I forgot to remove the "NCARD == 0" hacks that kept this drivermdodd1999-11-202-8/+0
| | | | | | from blowing up on PCMCIA systems. The hack isn't needed anymore. Reminded by: Blaz Zupan <blaz@gold.amis.net>
* Latest incremental efforts on newcard:imp1999-11-203-54/+90
| | | | | | | | | | | o Delete pcic1 from NEWCARD o Add explicit resource hints to pcic0 o Get attach working with newbus, kinda (it does all the newbus stuff, but doesn't try to attach the pccard yet, too many panics). o Disable ie0 and le0 in NEWCARD config. There appears to be a bug in the isa_compat code wrt memory conflicts with newbus drivers for reasons unknown. o Minor cleanups.
* Kill unneeded #includes. They were left over from the short period ofimp1999-11-202-10/+0
| | | | | time when a strcmp against the device name was required. Sio patches sent to peter for review.
* Kill unneeded includesimp1999-11-203-8/+0
| | | | Found by phk's script a while ago.
* Vnode was left referenced in the case if ELF image is broken.bp1999-11-201-1/+3
| | | | Reviewed by: Peter Wemm <peter@netplex.com.au>
* Conditionalise unwanted chattyness.jkh1999-11-191-1/+2
|
* Optimize two cases in the MP locking code. First, it is not necessarydillon1999-11-191-3/+2
| | | | | | | | | | | | | | | to use a locked cmpexg when unlocking a lock that we already hold, since nobody else can touch the lock while we hold it. Second, it is not necessary to use a locked cmpexg when locking a lock that we already hold, for the same reason. These changes will allow MP locks to be used recursively without impacting performance. Modify two procedures that are called only by assembly and are already NOPROF entries to pass a critical argument in %edx instead of on the stack, removing a significant amount of code from the critical path as a consequence. Reviewed by: Alfred Perlstein <bright@wintelcom.net>, Peter Wemm <peter@netplex.com.au>
* Use LIST_FOREACH to traverse the allproc list.phk1999-11-193-8/+7
| | | | Submitted by: Jake Burkholder jake@checker.org
* The at_exit and at_fork functions currently use a 'roll your own'phk1999-11-192-61/+54
| | | | | | | | | | | | | linked list to store the callbak routines. The patch converts the lists to queue(3) TAILQs, making the code slightly clearer and ensuring that callbacks are executed in FIFO order. Man page also updated as necesary. (discontinued use of M_TEMP malloc type while here anyway /phk) Submitted by: Jake Burkholder jake@checker.org PR: 14912
* Revert previous commit now that 'acfcomp' has been removed fromarchie1999-11-191-1/+0
| | | | libnetgraph/debug.c to fix make world.
* Add a field archie forgot to merge in from out sources.julian1999-11-191-1/+2
|
* Optimize two cases in the MP locking code. First, it is not necessarydillon1999-11-199-125/+85
| | | | | | | | | | | | | | | to use a locked cmpexg when unlocking a lock that we already hold, since nobody else can touch the lock while we hold it. Second, it is not necessary to use a locked cmpexg when locking a lock that we already hold, for the same reason. These changes will allow MP locks to be used recursively without impacting performance. Modify two procedures that are called only by assembly and are already NOPROF entries to pass a critical argument in %edx instead of on the stack, removing a significant amount of code from the critical path as a consequence. Reviewed by: Alfred Perlstein <bright@wintelcom.net>, Peter Wemm <peter@netplex.com.au>
* Properly attribute interrupt time on alpha. Previously, interrupt timegallatin1999-11-193-5/+6
| | | | | | | | | | was likely to be counted as idle time. Note that we are counting time spent in software interrupt handlers as interrupt time, so this invalidates the i386 meaning of intr_nesting_level. Reviewed by: dfr, bde Tested by: anderson@cs.duke.edu
* Make the event creation workn_hibma1999-11-191-16/+26
| | | | | | - Create the /dev/usb event queue device node. - Add usbread to the cdevsw. - Also hide the many minor() behind a USBUNIT macro.
* fix braino.. line misplaced.julian1999-11-193-3/+3
|
* Loose ad_sleep, its of no use anymore.sos1999-11-191-13/+0
|
* Rename es1370.c to es137x.c and merge in the patches to supportroger1999-11-192-34/+780
| | | | | | | | | ES1371 and ES1373 PCI Audio Sound Chips. The 1371 and 1373 can be found on newer CreativeLabs/Ensoniq sound cards such as the SoundBlaster PCI 16,64 and 128. Submitted by: Russell Cattelan <cattelan@thebarn.com> Obtained from: Parts obtained from linux, but rewritten by Russell
* Module name is cardbus, not pccard.imp1999-11-191-1/+1
|
* Use 'struct ng_xxx_private' instead of 'struct private' to help gdbarchie1999-11-191-2/+2
| | | | disambiguate when debugging.
* Fix bug where hook pointers were not getting updated on disconnection.archie1999-11-192-8/+38
|
* Move misplaced #define.archie1999-11-191-1/+3
|
* Add some safety using KASSERT() and splnet().archie1999-11-191-12/+18
|
* Use KASSERT() instead of old #ifdef DIAGNOSTICS.archie1999-11-191-14/+22
| | | | Add more INVARIANTS-enabled sanity checking.
* protect some more operations with splimp() under Netgraph.julian1999-11-196-18/+18
|
OpenPOWER on IntegriCloud