summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Retire the bogus ioctl DIOCGPART in toto.phk2002-04-0215-127/+3
| | | | | | | Once again we can notice that badly thought out hacks ferment and infect far more code than initially expected. Sponsored by: DARPA and NAI Labs.
* Use ANSI prototypes and declarations.joe2002-04-021-156/+123
| | | | Rename csr_{write|read}_* to aue_csr_* in keeping with NetBSD.
* Stop using the bogus DIOCGPART ioctl, use DIOCGSECTORSIZE andphk2002-04-022-7/+19
| | | | | | | DIOCGMEDIASIZE instead. The partition type check has been XXX'ed out since we cannot expect that a BSD disklabel with a type field be available on all platforms.
* Use DIOCGSECTORSIZE instead of the bogus DIOCGPART ioctl.phk2002-04-021-6/+8
|
* One less user of the bogus DIOCGPART ioctl.phk2002-04-022-24/+32
|
* Send diskpart to the eternal storage device (SMD probably :-) wherephk2002-04-024-659/+0
| | | | it belongs.
* Move savecore back to the MI list so that it compiles for othermarcel2002-04-021-6/+2
| | | | archs than alpha and i386.
* Don't compile the dummy dumpsys for ia64.marcel2002-04-021-1/+1
|
* o Add header version for ia64,marcel2002-04-021-1/+2
| | | | o Make it compile with GCC 3.x.
* MFNetBSD:joe2002-04-021-2/+6
| | | | | | | | | | | | revision 1.50 date: 2001/04/12 01:18:24; author: thorpej; state: Exp; lines: +6 -2 Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet (because we register the interrupt with IPL_SOFTNET). However, if we're using a callout, then splusb == splsoftclock (because the callouts happen from the softclock interrupt). Note that splsoftnet blocks softclock interrupts, but this is meant to better describe what's going on.
* Initial implementation of the ia64 kernel dumper. The dumpermarcel2002-04-022-0/+564
| | | | | | | constructs an ELF image, consisting of the ELF header, for each memory region a program header, followed by the memory contents for each region. It does blocked I/O for the headers as they are typically smaller than DEV_BSIZE.
* MFNetBSD: (partial merge, as part was already there).joe2002-04-021-2/+2
| | | | | | revision 1.56 date: 2001/11/13 07:55:30; author: augustss; state: Exp; lines: +4 -4 Add some #endif comments.
* MFNetBSD:joe2002-04-021-1/+2
| | | | | | revision 1.54 date: 2001/11/09 14:59:11; author: augustss; state: Exp; lines: +2 -1 Add a debug message.
* There is breakage in parsedate, so revert to get_date until this can bemarkm2002-04-023-3/+8
| | | | | | resolved. Reported by: paul
* WARNS fixes.maxim2002-04-021-3/+3
| | | | | | | Submitted by: kris Reviewed by: bde Approved by: ru MFC after: 2 weeks
* Initialize a field to cater for ata-raidphk2002-04-021-0/+1
|
* MFNetBSD: usb.c (1.53), usbdi.h (1.49)joe2002-04-022-11/+26
| | | | | date: 2001/01/23 17:04:30; author: augustss; Ad function to remove a usb task.
* MFNetBSD:joe2002-04-021-1/+6
| | | | | | revision 1.52 date: 2001/01/21 19:00:29; author: augustss; state: Exp; lines: +5 -0 Ad a comment.
* MFNetBSD: uhub.c (1.49), usb.c (1.51), usbdi.h (1.48), usbdivar.h (1.63)joe2002-04-024-30/+76
| | | | | | | | | date: 2001/01/21 19:00:06; author: augustss; Change the operation of the USB event thread. Before it only performed USB device discovery, now it can also perform (short) tasks for device drivers that need a process context, but don't have one. This is not pretty, but better than using busy-wait in an interrupt context.
* style(9) cleanup.maxim2002-04-021-57/+53
| | | | | | | Submitted by: kris (an early version of this patch) Reviewed by: bde Approved by: ru MFC after: 2 weeks
* Various fixes, mostly for problems introduced by my mdoc transcription,sheldonh2002-04-021-12/+14
| | | | | | | rather than problems that existed in the original HTML "source". PR: docs/33585 Submitted: Norihiro Kumagai <kumagai@attbi.com>
* There are 4 key formats, not 3.sheldonh2002-04-021-1/+1
| | | | | PR: 33586 Submitted by: Norihiro Kumagai <kuma@12-225-156-18.client.attbi.com>
* Style: don't override `beforeinstall', use FILES.ru2002-04-022-14/+6
|
* Fix find -exec with no command specified (i.e.: find . -exec ';')jmallett2002-04-021-0/+3
| | | | | | | PR: bin/36521 Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx> Reviewed by: mike MFC after: 3 days
* o GC totalphysmem and resvmem.marcel2002-04-021-11/+5
| | | | | o Rephrase comment describing that the memory region can contain the kernel.
* More newcard devices:imp2002-04-021-1/+14
| | | | | | | | | | Netgear FA-410TXC Netgear FA-411 Lantech Fastnet TX Linksys pcm100 Hide the total wildcard device for SVEC too :-( Obtained from: NetBSD/OpenBSD
* Update comment regarding the locking of the sysctl tree.rwatson2002-04-021-10/+10
| | | | | | | | Rename memlock to sysctllock, and MEMLOCK()/MEMUNLOCK() to SYSCTL_LOCK()/ SYSCTL_UNLOCK() and related changes to make the lock names make more sense. Submitted by: Jonathan Mini <mini@haikugeek.com>
* Add some devices from OpenBSD/NetBSD:imp2002-04-021-1/+6
| | | | | | | | | | | o 3Com 3crwe62092a o Addtron awp100 o No Wires Necessary WLAN 550 and 1148 o Proxim RANGELANDS 8340 and reorder linksys to be in proper sort order. Obtained from: OpenBSD (mostly)
* Regen for 1.30 pccarddevsimp2002-04-021-1/+8
|
* Actually merge proxim rangelands and addtron awp-100imp2002-04-021-0/+3
|
* regen to 1.29 pccarddevsimp2002-04-021-15/+40
|
* Merge from both NetBSD and OpenBSD's pcmciadevs:imp2002-04-021-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | NetBSD: 1.163; martin; ELSA MicroLink mc all 1.162; is; typo 1.161; is; typo 1.160; is; Add Lantech Fastnet/TX OpenBSD: 1.85; millert; proxim rangelan-ds 1.84; provos; linksys wpc11 1.83; mickey; now wires needed wlan 1.82; mickey; socket low power wlan from netbsd [*] 1.81; mickey; ericsson wlan 1.80; fgsch; add openbsd tag back (not needed) 1.79; fgsch; Netgear FA411 1.78; mickey; simple spectrum25 from netbsd [*] 1.77; mickey; emtac wavelan from netbsd [*] 1.76; mickey; buffalo wavelans from netbsd [*] 1.75; jakob; 3com wilress lan pccard 1.74; mickey; linksys2 instant wireless 1.73; mickey; oops (add closing quote) 1.72; mickey; pcm100 [*] (already in freebsd) Obtained from: NetBSD, OpenBSD
* Connect ktrdump to the build. <cringe>.jake2002-04-021-0/+1
|
* Add a man page.jake2002-04-022-1/+83
| | | | Submitted by: davidc
* 1. Add missing include of stdint.h.jake2002-04-021-2/+3
| | | | | | 2. Fix reversed arguments to strcpy. Noticed by: davidc (2)
* Use sx locks instead of flags+tsleep locks.alfred2002-04-021-31/+11
| | | | Submitted by: Jonathan Mini <mini@haikugeek.com>
* Use sx locks rather than lockmgr locks for eventhandlers.alfred2002-04-022-18/+16
| | | | Submitted by: Jonathan Mini <mini@haikugeek.com>
* Make this compile again after the recent NetBSD mergeimp2002-04-021-2/+2
|
* Add myself.nork2002-04-021-0/+1
| | | | Reviewed by: knu (mentor)
* Add if_wi_{pccard,pci}.c for pccard and pci bus front endsimp2002-04-021-1/+3
|
* First cut at breaking out the bus attachment from the bus independentimp2002-04-027-479/+614
| | | | | part of the driver. Also, move the softc and some other stuff to if_wivar.h from if_wireg.h to make future merging activities easier.
* Minor changes to make this work on sparc64.jake2002-04-021-33/+46
| | | | | Approved by: jdp Tested on: alpha, i386, sparc64
* Mutex profiling code, conditional on the MUTEX_PROFILING option. Adds thedes2002-04-024-4/+326
| | | | | | | | | | | | | | | | | | | | | | | following sysctl variables: debug.mutex.prof.enable enable / disable profiling debug.mutex.prof.acquisitions number of mutex acquisitions recorded debug.mutex.prof.records number of acquisition points recorded debug.mutex.prof.maxrecords max number of acquisition points debug.mutex.prof.rejected number of rejections (due to full table) debug.mutex.prof.hashsize hash size debug.mutex.prof.collisions number of hash collisions debug.mutex.prof.stats profiling statistics The code records four numbers for each acquisition point (identified by source file name and line number): longest time held, total time held, number of non-recursive acquisitions, average time held. The measurements are in clock cycles (as returned by get_cyclecount(9)); this may cause measurements on some SMP systems to be unreliable. This can probably be worked around by replacing get_cyclecount(9) by some incarnation of nanotime(9). This work was derived from initial patches by eivind.
* Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()dillon2002-04-0129-270/+577
| | | | | | | | | | | | | | | | | | | | | and cpu_critical_exit() and moves associated critical prototypes into their own header file, <arch>/<arch>/critical.h, which is only included by the three MI source files that need it. Backout and re-apply improperly comitted syntactical cleanups made to files that were still under active development. Backout improperly comitted program structure changes that moved localized declarations to the top of two procedures. Partially re-apply one of the program structure changes to move 'mask' into an intermediate block rather then in three separate sub-blocks to make the code more readable. Re-integrate bug fixes that Jake made to the sparc64 code. Note: In general, developers should not gratuitously move declarations out of sub-blocks. They are where they are for reasons of structure, grouping, readability, compiler-localizability, and to avoid developer-introduced bugs similar to several found in recent years in the VFS and VM code. Reviewed by: jake
* Add support for booting from CD-ROM. Make it possible to enable UFStmm2002-04-012-0/+27
| | | | support using make arguments.
* 1.) Produce a boot1 disklabel template of the format disklabel(8) expects.tmm2002-04-011-12/+22
| | | | | | 2.) Clean up and change over to using bsd.prog.mk Submitted by: jake (2)
* Fix SCM IDs.obrien2002-04-017-18/+14
|
* Allow to compile a YACC produced file with GCC 3.1 (which has differentobrien2002-04-011-0/+1
| | | | header searching rules for generated files with #line).
* MFNetBSD:joe2002-04-011-5/+7
| | | | | | revision 1.140 date: 2001/10/24 20:20:03; author: augustss; state: Exp; lines: +9 -5 More debug.
* MFNetBSD:joe2002-04-011-7/+6
| | | | | | | revision 1.138 date: 2001/10/02 17:59:38; author: pooka; state: Exp; lines: +6 -6 move DIAGNOSTIC-printf up one block to make it reachable noted by Christophe Kalt in private email
OpenPOWER on IntegriCloud