summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Argh, fix a nit that snuck in while trying to resolve conflicts.jhb2001-01-301-2/+1
|
* - Fix TUNABLE_STR_FETCH() to actually be a code fragment rather thanjhb2001-01-301-10/+2
| | | | | | | | declaring a static function. - Modify TUNABLE_*_DECL() to use TUNABLE_*_FETCH() to avoid code duplication. Reviewed by: peter
* Added used include of <sys/mutex.h>. The SMP case was broken bybde2001-01-303-0/+3
| | | | | | incompletely converting simplelocks to mutexes (COM_LOCK() is supposed to hide the SMP locking internals, but it now depends on mutex interfaces being visible).
* Make klds for the ar and sr devices and hook them up.jhay2001-01-306-3/+48
| | | | | The normal versions are called if_ar.ko and if_sr.ko and the netgraph versions ng_sync_ar.ko and ng_sync_sr.ko.
* Add a BUF_KERNPROC() in the BIO_DELETE path.phk2001-01-302-0/+2
| | | | This seems to fix the problem which md(4) backed filesystems exposed.
* The ar and sr devices have moved to sys/dev/.jhay2001-01-308-6645/+0
|
* This include file has found a new home in sys/dev/ic/.jhay2001-01-301-372/+0
|
* Newbusify the sr device and move it to its new location.jhay2001-01-304-3797/+700
|
* Update include files to reflect the new location of the ar device.jhay2001-01-302-5/+5
|
* Reflect the new location of the ar and sr devices.jhay2001-01-302-4/+6
|
* Style (whitespace) nit.peter2001-01-301-4/+4
|
* Fix two minor nits.phk2001-01-302-2/+6
| | | | Existences revealed, but no details offered by: bp
* Fix cut and paste error in a comment.julian2001-01-302-2/+2
| | | | Submitted by: Peter Wemm <peter@freebsd.org>
* Fix a race between the syncer and umount. When you umount a softupdatesdillon2001-01-301-12/+38
| | | | | | | | | | | filesystem softdep_process_worklist() is called in a loop until it indicates that no dependancies remain, but the determination of that fact depends on there only being one softdep_process_worklist() instance running. It was possible for the syncer to also be running softdep_process_worklist() and the pre-existing checks in the code to prevent this were not sufficient to prevent the race. This patch solves the problem. Approved-by: mckusick
* Remove some leftovers from the CMAP* stuff in globaldata and thepeter2001-01-3010-70/+20
| | | | BSP and AP startup.
* Remove unused GD_CPU_LOCKID, GD_OTHER_CPUS, PS_IDLESTACK andpeter2001-01-302-8/+0
| | | | PS_IDLESTACK_TOP
* Remove unnecessary locking to protect the p_upages_obj and p_addrjhb2001-01-303-22/+0
| | | | pointers.
* - Use the right name for the proctree lock in the locking key.jhb2001-01-301-4/+14
| | | | | | | | | | | | - Add a note about the special locking semantics used for members such as p_cred that are read by multiple processes but only written to by the current process. - Change p_upages_obj's locking key to note that it is created at fork and left alone afterwards (the actual pointer, not what it points to.) - Mark p_intr_nesting_level as being implicitly locked since only curproc accesses it. Reviewed by: jake
* Add option ATA_ENABLE_WC for enabling write caching (now off by default).sos2001-01-292-2/+8
|
* Add text for option ATA_ENABLE_WC.sos2001-01-292-0/+8
|
* Flesh out EFI support somewhat.dfr2001-01-292-45/+591
|
* Supply a stub bpf_validate() (always returning false - the script is notpeter2001-01-293-5/+18
| | | | | | | | | valid) if BPF is missing. The netgraph_bpf node forced bpf to be present, reflect that in the options. Stop doing a 'count bpf' - we provide stubs. Since a handful of drivers still refer to "bpf.h", provide a more accurate indication that the API is present always. (eg: netinet6)
* Use M_PANIC instead of if (sc == NULL) panic();peter2001-01-291-1/+2
|
* Remove unused variable 'int n;'peter2001-01-291-1/+0
|
* Add M_PANIC flag to the list of available flags passed to malloc().bp2001-01-292-2/+7
| | | | | | | With this flag set malloc() will panic if memory allocation failed. This usable only in critical places where failed allocation is fatal. Reviewed by: peter
* Stop counting sppp interfaces, we were just testing its presence to givepeter2001-01-298-47/+1
| | | | a warning if it was missing.
* Convert mca (microchannel bus support) from something that we countpeter2001-01-2915-46/+47
| | | | (bogus) to something that we test for the presence of.
* Add a few ``const''s to silence some -Wwrite-strings warningsbrian2001-01-291-7/+9
|
* Zap silly #if NPCI > 0 and the hoops that we jump through for the modulepeter2001-01-293-16/+2
| | | | | case. Use an 'and' case in conf/files so that it only gets compiled if pci is present.
* Yikes, these files bogusly #include "loop.h" but didn't use the value.peter2001-01-293-6/+0
| | | | My searching for NLOOP missed them. :-(
* Convert 'count en', 'count lnc', 'count fpa', 'count loop' and 'count ar'peter2001-01-291-5/+5
| | | | back to standard 'optional'.
* Remove unused #include "lnc.h"peter2001-01-291-1/+0
|
* Make the number of loopback interfaces dynamically tunable. Why onepeter2001-01-292-18/+80
| | | | | | | would *want* to is a different story, but it used to be able to be done statically. Get rid of #include "loop.h" and struct ifnet loif[NLOOP]; This could be used as an example of how to do this in other drivers, for example: ccd.
* Remove unused #include "snp.h"peter2001-01-292-2/+0
|
* Convert ata and atapi #if NATA* > 0 to options instead. Stop configpeter2001-01-294-38/+34
| | | | trying to count the number of ata* devs since they were not used anyway.
* Turn '#if NSNP > 0' into an option.peter2001-01-293-7/+10
|
* Send "#if NISA > 0" to the bit-bucket and replace it with an option.peter2001-01-2921-70/+61
| | | | | These were compile-time "is the isa code present?" tests and not 'how many isa busses' tests.
* Gag. These compiled because I had a stray "eisa.h" in my config dir.peter2001-01-292-4/+0
|
* Remove stray #include "isa.h"peter2001-01-292-4/+0
|
* This patch reestablishes the spec_fsync() guarentee that synchronousdillon2001-01-292-14/+32
| | | | | | | | | | | | | | | | fsyncs, which typically occur during unmounting, will drain all dirty buffers even if it takes multiple passes to do so. The guarentee was mangled by the last patch which solved a problem due to -current disabling interrupts while holding giant (which caused an infinite spin loop waiting for I/O to complete). -stable does not have either patch, but has a similar bug in the original spec_fsync() code which is triggered by a bug in the softupdates umount code, a fix for which will be committed to -current as soon as Kirk stamps it. Then both solutions will be MFC'd to -stable. -stable currently suffers from a combination of the softupdates bug and a small window of opportunity in the original spec_fsync() code, and -stable also suffers from the spin-loop bug but since interrupts are enabled the spin resolves itself in a few milliseconds.
* change 'count eisa' to 'optional eisa' and update the only consumerpeter2001-01-296-616/+28
| | | | | of 'NEISA' - userconfig.c. While there, send some defunct code to the file history.
* Fix a braino in ccd's clone routine.phk2001-01-292-2/+2
| | | | Submitted by: tegge
* Back out rev 1.102. The IBM DNES drives work fine for me, jedgar and otherken2001-01-291-11/+0
| | | | | | | | | | folks. My guess is that reducing the number of tags is just masking the real problem for the PR submitter. I'll re-open the PR and see if I can work with the submitter to diagnose the problem. PR: 21139
* Don't hard-code alignment and data declarations valid for 64-bitmarcel2001-01-291-3/+5
| | | | | | machines (duh!). This was one reason why this script broke on i386. The other being that on i386 sections did not have the proper alignment. This has been fixed in sys/sys/linker_set.h.
* o Add explicit alignment to linker set definitions. On i386, datamarcel2001-01-291-8/+2
| | | | | | | declarations will not be aligned by default. o Remove the alignment work-around for alpha. Our current alpha as(1) does not assume alignment after section switching, nor does the ia64 as(1).
* Ignore leading witespace in the string given to PacketAliasProxyRule().brian2001-01-291-0/+1
|
* Fix region code reporting.ken2001-01-281-4/+3
| | | | Reported by: Andrew Gordon <arg@arg1.demon.co.uk>
* Revert previous commit. I messed up my testing.marcel2001-01-285-5/+5
|
* Remove devstat entries in mddelete()phk2001-01-281-0/+1
| | | | Spotted: tegge
* A couple of chip errata work-arounds refined:groudier2001-01-281-3/+3
| | | | | | | | | | | | | - When used on a 33MHz PCI BUS, the 53C1010-66 revision 0 requires extra clocks to be inserted in data out phase. Revision 1 is fixed. - The 53C1010-33 revision 1 requires internal cycles to be disabled due to possible contentions on IO registers. Revision 2 is fixed. Fix: - The probing of HVD from GPIO3 bit by the driver was reversed. The driver could misprobe the bus mode of a 825 or 875 chip that was not previously initialized (no BIOS for example).
OpenPOWER on IntegriCloud