summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Move MAXCPU from machine/smp.h to machine/param.h to fix breakageps2000-09-2313-53/+23
| | | | | with !SMP kernels. Also, replace NCPUS with MAXCPU since they are redundant.
* Merged from sys/i386/i386/machdep.c revision 1.411.kato2000-09-232-12/+2
|
* Merged from sys/i386/conf/GENERIC revision 1.279.kato2000-09-231-4/+0
|
* Merged from sys/conf/options.i386 revision 1.139.kato2000-09-231-2/+0
|
* Don't include proc.h now that mutex.h does it for us.msmith2000-09-231-1/+0
|
* Don't #include <sys/proc.h>, since machine/mutex.h does it now.jasone2000-09-233-3/+1
|
* #include <sys/proc.h> in order to get curproc. This seems to be the lesserjasone2000-09-234-10/+6
| | | | | of two evils; the greater evil is requiring sys/proc.h to be included before including machine/mutex.h.
* Remove the NCPU, NAPIC, NBUS, NINTR config options. Make NAPIC,ps2000-09-2239-419/+423
| | | | | | NBUS, NINTR dynamic and set NCPU to a maximum of 16 under SMP. Reviewed by: peter
* o Introduce vn_extattr_rm(), a helper function in the style ofrwatson2000-09-222-0/+25
| | | | | | | | vn_extattr_get() and vn_extattr_set(). vn_extattr_rm() removes the specified extended attribute from a vnode, authorizing the change as the kernel (NULL cred). Obtained from: TrustedBSD Project
* Add Perforce RCSIDs for easy revision correlation to my local tree.gibbs2000-09-227-8/+91
| | | | | | | Add support for constructing a table of critical section regions in the firmware image. The kernel driver will soon have support for single stepping the sequencer outside of a critical region prior to starting exception handling.
* Add Perforce RCSIDs for easy revision correlation to my local tree.gibbs2000-09-2212-75/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ahc_pci.c: Bring back the AHC_ALLOW_MEMIO option at least until the memory mapped I/O problem on the SuperMicro 370DR3 is better understood. aic7xxx.c: If we see a spurious SCSI interrupt, attempt to clear it and continue by unpausing the sequencer. Change the interface to ahc_send_async(). Some async messages need to be broadcast to all the luns of a target or all the targets of a bus. This is easier to achieve by passing explicit channel, target, and lun parameters instead of attempting to construct a device info struct to match. Filter the sync parameters for the PPR message in exactly the same way we do for an old fashioned SDTR message. Correct some typos and correct a panic message. Handle rejected PPR messages. In ahc_handle_msg_reject(), let ahc_build_transfer_msg() build any additional transfer messages instead of doing this inline. aic7xxx.h: Increase the size of both msgout_buf and msgin_buf to better accomodate PPR messages. aic7xxx_freebsd.c: Update for change in ahc_send_async() parameters. aic7xxx_freebsd.h Update for change in ahc_send_async() parameters. Honor AHC_ALLOW_MEMIO. aic7xxx_pci.c: Check the error register before going into full blown PCI interrupt handling. This avoids a few costly PCI configuration space reads when we run our PCI interrupt handler because another device sharing our interrupt line is more active than we are. Also unpause the sequencer after processing a PCI interrupt.
* Use quoted includes instead of full path references inside the aic7xxxgibbs2000-09-221-4/+3
| | | | | | | | sequencer files. Different platforms place the included files in different locations and it is easier to modify the include path passed as arguments to the assembler than adding #ifdef support to the assembler. Remove a spurious 'nop' instruction.
* Use quoted includes instead of full path references inside the aic7xxxgibbs2000-09-221-1/+1
| | | | | | sequencer files. Different platforms place the included files in different locations and it is easier to modify the include path passed as arguments to the assembler than adding #ifdef support to the assembler.
* Remove duplicate FreeBSD RCSID.gibbs2000-09-221-2/+0
|
* Tweak the aue driver so that the homePNA PHYs will be detected andwpaul2000-09-221-0/+2
| | | | | | attached by the pnaphy driver. This seems to work fine with my sample ADMtek adapter (which has both 10/100 ethernet and homePNA connectors and hardware).
* Remove unnecessary #include's as reported by phk's script.archie2000-09-225-8/+0
|
* Document which RFC introduced CMSG_SPACE() and CMSG_LEN().asmodai2000-09-221-0/+2
|
* Merged from sys/isa/sio.c revision 1.315.kato2000-09-222-14/+52
|
* Merged from sys/i386/i386/machdep.c revision 1.410.kato2000-09-222-0/+74
|
* Merged from sys/i386/conf/GENERIC revision 1.278.kato2000-09-221-0/+1
|
* Merged from sys/boot/i386/loader/main.c revision 1.23.kato2000-09-221-0/+2
|
* Merged from sys/boot/i386/libi386/Makefile revision 1.19.kato2000-09-221-1/+3
|
* Style fixes:eivind2000-09-222-104/+214
| | | | | | | | | | * Add lots of comments * Convert a couple of assertions to KASSERT() * Minimal whitespace & misapplied {} fixes * Convert #if 0 to #if COMPILING_LINT for code we presently do not support, but want to keep available. Reviewed by: adrian, markm
* Remove addalias() prototype (staticized in kern/vfs_subr.c)eivind2000-09-221-1/+0
|
* Staticize addalias()eivind2000-09-222-2/+4
|
* Fix comment about the bsd-api-new-02a draft. This has been supercededasmodai2000-09-221-1/+1
| | | | by RFC 2553.
* Removed unneeded include files.nyan2000-09-224-28/+0
| | | | Submitted by: phk
* - Wrap functions and variables that aren't used in the alpha console probejhb2000-09-222-14/+52
| | | | | | with #ifndef __alpha__/#endif - Add function prototypes for functions used during the alpha console probe and gdb port setup inside of #ifdef __alpha__/#endif.
* Fix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) onjhb2000-09-222-12/+12
| | | | the alpha.
* Remove atomic_*_{32,64} since they are now inline. If you haven't rebuiltdfr2000-09-221-81/+0
| | | | modules since atomic.h was updated, now is the time.
* Fixing a sorting error in teh subsystem list. 7 < 8, not 8 < 7.jhb2000-09-221-1/+1
|
* Teach MTX_EXIT_RECURSE that the recursion count is a 32-bit integer,jhb2000-09-222-6/+6
| | | | not a 16-bit one.
* Typo in comment (decent performances -> decent performance).wpaul2000-09-221-1/+1
|
* Make pcn_miibus_readreg() latch onto the first PHY that it finds (aswpaul2000-09-222-1/+5
| | | | | | | | | a result of mii_phy_probe()) and use that rather than hardcoding a constant. The hardcoded way was too specific to the particular card I had and caused PHY probing to fail on at least one laptop with a built-in AMD chip. Reported by: rjk@grauel.com (Richard J Kuhns)
* Create an event (idle_event) which is invoked every time around themsmith2000-09-221-0/+7
| | | | | idle loop. Machine-dependant code can elect to eg. take power-saving actions when this event is invoked.
* Implement halt-on-idle in the !SMP case, which should significantlymsmith2000-09-225-30/+74
| | | | reduce power consumption on most systems.
* Make the EVENTHANDLER mechanism MP-safe. Events can now be invokedmsmith2000-09-222-30/+67
| | | | without holding the Giant lock.
* o Merge in changes to the NetBSD sources:imp2000-09-222-8/+93
| | | | | | | | | | | | | | | | | | | | | | pcmciavar.h 1.9->1.12 1.12, enami, minor coding nits 1.11, augustss, (pcmcia_devinfo NRFB) 1.10, cgd, add generic lookup routines pcmcia.c 1.14->1.23 1.23, drochner, (probe code printing, NRFB) 1.22, augustss, KNF 1.21, uch, (hpcmips tweaks NRFB) 1.20, chopps, remove bogus debug 1.19, enami, minor coding nits 1.18, augustss, (pcmcia_devinfo NRFB) 1.17, nathanw, LP64 printf fixes 1.16, cgd, add generic lookup routines 1.15, aymeric, printf fixes NRFB == not relevant to freebsd o Expand the pccard matching routines to include the ability to match against the CIS strings since our current driver database is based on that. o Add lots more ivars to get the information necessary to snag these values.
* Fix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulatingmsmith2000-09-211-0/+11
| | | | | | the ccb queue without masking interrupts. Submitted by: Petr Lampa <lampa@fee.vutbr.cz>
* some copyright cleanupsmjacob2000-09-2112-58/+25
|
* Add the PCI device ID for the on-board ethernet controllers on thewpaul2000-09-214-0/+8
| | | | | Intel 815E motherboard, which I believe is an i82562. Seems to work just fine with the fxp driver.
* o Permit UFS Extended Attributes to be associated with special devicesrwatson2000-09-211-0/+8
| | | | | | and FIFOs. Obtained from: TrustedBSD Project
* o Add two constants mapping ACLs into extended attribute namesrwatson2000-09-211-8/+9
| | | | | | | o Add '.'s in comments to style(9)-ify them. o Clean up whitespace a little. Obtained from: TrustedBSD Project
* o Change locking rules for VOP_GETACL() to indicate that vnode locksrwatson2000-09-214-4/+13
| | | | | | | | | | must be held when retrieving ACLs from vnodes. This is required for EA-based UFS ACL implementations. o Update vacl_get_acl() so that it does appropriate vnode locking. o Remove static from M_ACL malloc define so that it is accessible for consumers of ACLs other than in kern_acl.c Obtained from: TrustedBSD Project
* Allocate all memory (including within node constructors) with M_NOWAITarchie2000-09-2115-22/+22
| | | | instead of M_WAITOK, to allow for maximum flexibility.
* Allocate memory with M_NOWAIT instead of M_WAITOK because we couldarchie2000-09-211-1/+1
| | | | be called in an interrupt context.
* Add a couple of debug register helper functions to assist in settingbsd2000-09-214-0/+20
| | | | | | and clearing watchpoints. Reviewed by: jwd@FreeBSD.org, -hackers@
* Inintialize the queue index stuff from what the f/w sends back- justmjacob2000-09-211-3/+4
| | | | | | in case it's insane enough to not do what you tell it to. Print out (LOGINFO level) initiator ID.
* Remove unneeded includemjacob2000-09-211-2/+0
| | | | (from phk@freebsd.org)
* remove unneeded includesmjacob2000-09-211-4/+0
| | | | (obtained from phk@freebsd.org)
OpenPOWER on IntegriCloud