summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* pmap_ts_referenced(): set fault on {read|execute|write} bits on the page on,dt1999-04-211-6/+8
| | | | | | so we will know when the page is accessed again. (Also, make it return an integer, not "boolean" TRUE/FALSE).
* Change type of a variable from u_int to size_t, so that pointer to it may bedt1999-04-211-2/+2
| | | | used as a last argument to copyinstr().
* DEVICE_SUSPEND was always returning ENXIO for reasons unknown. Forimp1999-04-212-4/+14
| | | | | now we noisily ignore this (and all errors). DEVICE_SUSPEND should be corrected, but I wanted to unbreak suspend until that happens.
* oops, SMP was missing includes for a typedef.peter1999-04-215-10/+10
|
* Stage 1 of a cleanup of the i386 interrupt registration mechanism.peter1999-04-2131-803/+1888
| | | | | | | Interrupts under the new scheme are managed by the i386 nexus with the awareness of the resource manager. There is further room for optimizing the interfaces still. All the users of register_intr()/intr_create() should be gone, with the exception of pcic and i386/isa/clock.c.
* As I understand it, these register_intr()'s shouldn't be here. The isapeter1999-04-211-3/+1
| | | | driver attaches the interupt itself.
* Address several problems in vn_read and vn_write:alc1999-04-211-35/+21
| | | | | | | | | | | | | | | 1. Make read-ahead work for pread and aio_read. 2. Fix one place where a comparison of uio_offset with -1 wasn't updated to use FOF_OFFSET. 3. Honor O_APPEND in the FOF_OFFSET case. In addition, use the variable name "ioflag" in both vn_read and vn_write to avoid possible confusion between the variable "flag" and the parameter "flags". Submitted by: Bruce Evans <bde@zeta.org.au> and me
* Added consts to cpu_set_fork_handler prototype. (Follow i386 version.)dt1999-04-204-11/+11
|
* Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for conveniencen_hibma1999-04-203-6/+17
| | | | but we can do without it.
* alpha/include/param.h: #define NCPUS 1dt1999-04-202-7/+4
| | | | | | | alpha/include/lock.h: remove nop simplelock macros, which are defined in <sys/lock.h> if NCPUS == 1. As a result, NULL_SIMPLELOCK is defined, and a few warnings removed.
* 1) Change printf's into DPRINTF.n_hibma1999-04-202-85/+96
| | | | | | | 2) rename variables to be more conclusive. 3) fix a problem in uhci_ii_done. Avoid collecting all the status's of the TD's, we only need to one from the last inactive one. 4) Change the errorcount from 2 to 3 (see UHCI spec.).
* Add defines for Mass Storage Bulk-Only and COmmun. Class devices.n_hibma1999-04-201-19/+37
|
* Make the location of init(8) tunable at boot time.des1999-04-205-20/+51
|
* Enclose .hcidebug in '#ifdef N.HCI'n_hibma1999-04-201-6/+20
|
* Removed annoying messaged during boot,added some checksemenu1999-04-2014-354/+868
| | | | | | | | before mounting (should help to do not mount extended partitions:-). Fixed problem with hanging while unmounting busy fs. And (the most important) added some locks to prevent simulaneous access to kernel structures!
* Clean out most of the LKM stuff, the build support left a little while ago.peter1999-04-201-85/+9
|
* No need to use a magic IPFIREWALL_MODULE - the build system suppliespeter1999-04-201-2/+2
| | | | one already we can test for.
* s/IPFIREWALL_MODULE/KLD_MODULE/peter1999-04-201-2/+2
|
* Tidy up some stray / unused stuff in the IPFW package and friends.peter1999-04-209-108/+14
| | | | | | | | - unifdef -DCOMPAT_IPFW (this was on by default already) - remove traces of in-kernel ip_nat package, it was never committed. - Make IPFW and DUMMYNET initialize themselves rather than depend on compiled-in hooks in ip_init(). This means they initialize the same way both in-kernel and as kld modules. (IPFW initializes now :-)
* Don't clobber the "prompt" variable if it has already been set (e. g.joerg1999-04-201-2/+3
| | | | | | from within loader.conf). Reviewed by: dcs
* Recognize PC-98 16-bits bus (C-bus) as ISA bus. Because class numberkato1999-04-201-7/+24
| | | | | of the C-bus is not assigned, PCI to C-bus bridges were recognized as generic PCI bridges.
* Make bt driver work on eisa again.dfr1999-04-202-4/+4
| | | | Submitted by: Matthew N. Dodd <winter@jurai.net>
* Sync with sys/i386/i386/userconfig.c revision 1.136.kato1999-04-201-10/+12
|
* Sync with sys/i386/i386/machdep.c revision 1.330.kato1999-04-202-10/+2
|
* Sync with sys/i386/conf/Makefile.i386 revision 1.147.kato1999-04-202-4/+4
|
* Rectivate pnp0.kato1999-04-202-4/+4
|
* Make pcvt compile and run again after find_display() is gone as part ofhm1999-04-204-109/+23
| | | | the new-bus changes. Also fix several compiler warnings.
* Preserve termination settings across the card reset in our shutdown hook.gibbs1999-04-191-4/+36
|
* Handle the case when auto sense retrieval fails.gibbs1999-04-192-3/+13
| | | | Give automatic request sense operations a 5 second timeout.
* Use macros for accessing the head of the heap so that codegibbs1999-04-191-2/+2
| | | | is isolated from implementation details of the heap.
* cam_periph.c:gibbs1999-04-194-48/+67
| | | | | | | | | | | | | | | | | Move handling of CAM_AUTOSENSE_FAIL into block dealing with all other scsi status errors. cam_queue.c: cam_queue.h: Fix 'off by one' heap bug in a more efficient manner. Since heap algorithms like to deal with indexes started from 1, offset our heap array pointer at allocation time to make this so for a C environment. This makes the implementation of the algorithm a bit more efficient. cam_xpt.c: Use macros for accessing the head of the heap so that code is isolated from implementation details of the heap.
* Kill joy for the time being, it used lkm unconditionally, breaking world.peter1999-04-191-4/+3
| | | | Submitted by: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
* Always reset the isa hints after releasing the resources after probe,peter1999-04-191-16/+16
| | | | | | | because the act of doing the release kills the hints(!). A quirk of the wrapper caused it to reset all the settings, except perhaps for the memory address. I've tested this with a real SMC 8013EPC - which uses shared memory addresses - it seems to work OK.
* 1) Add Rockfire vendor and gamepad product (MAEKAWA Masahide)n_hibma1999-04-193-20/+73
| | | | | | 2) Sort the list again (Roger Hardiman) 3) Reinstate a piece of code to look for a name for a device if none is found in the device itself.
* The missing prototype for isa_wrap_old_drivers() was bugging me..peter1999-04-191-1/+2
|
* Make userconfig saving actually work..peter1999-04-191-10/+12
|
* GC some stray debugging printf()s...peter1999-04-191-4/+1
|
* _pmap_unwire_pte_hold and pmap_remove_page:alc1999-04-192-26/+62
| | | | | | | | | | | | | | | | | | | | Use pmap_TLB_invalidate instead of invltlb_1pg to eliminate unnecessary IPIs. pmap_remove, pmap_protect and pmap_remove_pages: Use pmap_TLB_invalidate_all instead of invltlb to eliminate unnecessary IPIs. pmap_copy: Use cpu_invltlb instead of invltlb when updating APTDpde. pmap_changebit: Rather than deleting the unused "set bit" option (which may be useful later), make pmap_changebit an inline that is used by the new pmap_clearbit procedure. Collectively, the first three changes reduce the number of TLB shootdown IPIs by 1/3 for a kernel compile.
* Fix a potential hang situation.luoqi1999-04-191-1/+2
| | | | PR: i386/2108
* Don't do (1 << irq) to get an interrupt mask when irq = -1.peter1999-04-191-4/+6
| | | | Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
* Fixed missing changes for new-bus (return value of the probe routine).kato1999-04-192-16/+16
| | | | Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* Remove LKM module glue Makefile.peter1999-04-191-12/+0
|
* Zap LKM option and support. Farewell old friend.peter1999-04-198-1262/+9
|
* unifdef -DVM_STACK - it's been on for a while for x86 and was checkedpeter1999-04-1921-476/+26
| | | | and appeared to be working for the Alpha some time ago.
* Fix a braino from last commit.peter1999-04-192-8/+0
|
* GC some now unused (and #if 0) code.peter1999-04-192-642/+6
|
* Drop the 'at nexus?' from the busses, it's not used.peter1999-04-195-19/+19
| | | | | Reactivate eisa0 and pnp0 in GENERIC, they work.. (eisa has been converted but pnp still (for the most part) works the old way).
* Sync with sys/isa/sio.c revision 1.226.kato1999-04-192-8/+44
|
* Sync with sys/i386/i386/userconfig.c revision 1.135.kato1999-04-191-2/+4
|
* Sync with sys/boot/i386/loader/Makefile revision 1.32.kato1999-04-191-1/+2
|
OpenPOWER on IntegriCloud