summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Increase the max dummynet hash size from 1024 to 65536. Default is stillseanc2002-10-122-2/+8
| | | | | | | | | 1024. Silence on: -net, -ipfw 4weeks+ Reviewed by: dd Approved by: knu (mentor) MFC after: 3 weeks
* Remove NO_GEOM option. No outstanding show-stoppers.phk2002-10-123-6/+0
| | | | Sponsored by: DARPA & NAI Labs.
* - kserunnable() is now sched_runnable() change instances of these wherejeff2002-10-122-4/+6
| | | | | appropriate. - include sched.h to see this new api.
* - Create a new scheduler api that is defined in sys/sched.hjeff2002-10-1221-528/+774
| | | | | | | | | | - Begin moving scheduler specific functionality into sched_4bsd.c - Replace direct manipulation of scheduler data with hooks provided by the new api. - Remove KSE specific state modifications and single runq assumptions from kern_switch.c Reviewed by: -arch
* Register the machine check private state spinlock on ia64.peter2002-10-121-0/+3
|
* Know that a 10160 is the same as a 12160.mjacob2002-10-121-0/+2
| | | | MFC after: 0 days
* cut/paste the pmap_new_altkstack stuff from the other platforms.peter2002-10-111-3/+47
| | | | | It's no different here. Update the rest of the kstack API's for scottl's changes.
* Call uma_zalloc on pvzone with M_NOWAIT, just like i386 and alpha.peter2002-10-111-1/+1
| | | | Otherwise we get hundreds of 'could sleep' during boot.
* - Move the 'done1' label down below the unlock of the proc lock and movejhb2002-10-111-10/+9
| | | | | | | | | | the locking of the proc lock after the goto to done1 to avoid locking the lock in an error case just so we can turn around and unlock it. - Move the exec_setregs() stuff out from under the proc lock and after the p_args stuff. This allows exec_setregs() to be able to sleep or write things out to userland, etc. which ia64 does. Tested by: peter
* The CAM system has it's own ideas of what locks are to be held by whom.phk2002-10-111-19/+24
| | | | | | | | | | | | | So do GEOM. Not a pretty sight. Take all the interesting stuff out of GEOM::disk_create(), and leave just the creation of the fake dev_t. Schedule the topology munging to happen in the g_event thread with g_call_me(). This makes disk_create() pretty lock-agnostic, almost lock-atheist. Tripped over by: peter Sponsored by: DARPA & NAI Labs
* s/modunload/kldunloadimp2002-10-111-1/+1
|
* Use the new freebsd output format from Binutils 2.13.1.obrien2002-10-113-3/+3
|
* Add typedefs for size_t and ssize_t, allow struct iovec to be definedmike2002-10-111-2/+18
| | | | | in other headers, add a visibility conditional to avoid namespace pollution in the standards case.
* Fix %z to always print values as signed like it is supposed to.jhb2002-10-111-2/+2
| | | | | Reviewed by: bde Tested on: i386 in ddb
* No need to hold Giant will harvesting RNG data; change callout_init sosam2002-10-112-2/+4
| | | | this no longer happens for callbacks.
* This should enable 10160 support. As best as I can tell, the samemjacob2002-10-113-4/+27
| | | | | | | f/w as 12160 is used, and otherwise, this is just a single channel variant of the 10160. MFC after: 0 days
* Fix the code so that it no longer on alpha refers to the now nonexistentmjacob2002-10-111-17/+1
| | | | | | | | | | pci_cvt_to_bwx. This doesn't necessarily make bge(4) now actually *work* on an alpha. It loads, configures, and then about 30 seconds later, my XP1000 hard freezes. But, hey, it's a start. Obtained from: gallatin@freebsd.org
* Use `unsigned long' instead of `u_long' so that this header compilesmike2002-10-111-2/+2
| | | | in X/Open case where `u_long' isn't available.
* Change iov_base's type from `char *' to the standard `void *'. Allmike2002-10-1119-37/+52
| | | | | uses of iov_base which assume its type is `char *' (in order to do pointer arithmetic) have been updated to cast iov_base to `char *'.
* Slight overhaul of arc4random() and friends.phk2002-10-112-23/+29
| | | | | | | | | | | | | | | | | | | One bug fixed: Use getmicrouptime() to trigger reseeds so that we cannot be tricked by a clock being stepped backwards. Express parameters in natural units and with natural names. Don't use struct timeval more than we need to. Various stylistic and readability polishing. Introduce arc4rand(void *ptr, u_int len, int reseed) function which returns a stream of pseudo-random bytes, observing the automatic reseed criteria as well as allowing forced reseeds. Rewrite arc4random() in terms of arc4rand(). Sponsored by: DARPA & NAI Labs.
* - Add support for IPC_64 extensions into shmctl(2), semctl(2) and msgctl(2);sobomax2002-10-118-51/+669
| | | | | | | | | | | | | - add wrappers for mmap2(2) and ftruncate64(2) system calls; - don't spam console with printf's when VFAT_READDIR_BOTH ioctl(2) is invoked; - add support for SOUND_MIXER_READ_STEREODEVS ioctl(2); - make msgctl(IPC_STAT) and IPC_SET actually working by converting from BSD msqid_ds to Linux and vice versa; - properly return EINVAL if semget(2) is called with nsems being negative. Reviewed by: marcel Approved by: marcel Tested with: LSB runtime test
* Remove an unused variable.phk2002-10-111-7/+0
|
* Trapdoor access to cd%da and cd%c so they still work, but do not let themphk2002-10-111-0/+24
| | | | show up in /dev.
* Use malloc(9)'s M_ZERO rather than explicit bzero(9) call.phk2002-10-111-2/+2
|
* add some devices from NetBSDimp2002-10-111-1/+9
|
* Some renamings from pccarddevsimp2002-10-111-4/+6
| | | | | Add Linksys WCF11 Bay eMobility 11B
* sync to 1.36 of pccarddevsimp2002-10-111-20/+52
|
* Merge from NetBSD plus diff reduction to netbsd's pcmciadevs 1.177 file:imp2002-10-111-10/+24
| | | | | | | | | | | | o NETGEAR2 -> NETGEAR_2 o PLANEX2 -> PLANEX_2 o ACTIONTEC HWC01170 -> ACTIONTEC PRISM o linksys iwn2 -> iwn3 o Add: Ositech, DLINK_3, BAY emobility, buffalo lpc3_clt, netgear fa410TX. dynalink accton EN2216, corega ether II PCC TD, dlink dfe670TXD, dynalink l10c Obtained from: NetBSD
* Add Planex GWNS11Himp2002-10-111-0/+1
| | | | Submitted by: hanai-san
* sync to 1.35 of pccarddevsimp2002-10-111-1/+10
|
* Add a new NewMedia BUSTOASTER that I bought on ebay (sadly w/o scsi dongle).imp2002-10-111-0/+5
| | | | Add PLANEX GWNS11H submitted by hanai-san.
* o Set CBB_CARD_OK just before CARD_ATTACH_CARD. If ATTACH_CARD fails, thenimp2002-10-111-12/+14
| | | | | | | | | clear the bit. This allows ata driver to attach its children because it needs the interrupts enabled to succeed. Submitted by: iwasaki-san o Spell CardBus as CardBus, not Cardbus or CardBUS while I'm here.
* When considering a vnode for reuse in getnewvnode, we callmckusick2002-10-111-13/+18
| | | | | | | | | | | | | | | | | vcanrecycle to check a free vnode's availability. If it is available, vcanrecycle returns an error code of zero and the vnode in question locked. The getnewvnode routine then used to call vn_start_write with the V_NOWAIT flag. If the filesystem was suspended while taking a snapshot, the vn_start_write would fail but getnewvnode would fail to unlock the vnode, instead leaving it locked on the freelist. The result would be that the vnode would be locked forever and would eventually hang the system with a race to the root when it was attempted to recycle it. This fix moves the vn_start_write check into vcanrecycle where it will properly unlock the vnode if it is unavailable for recycling due to filesystem suspension. Sponsored by: DARPA & NAI Labs.
* Correct the offset of the 'jfs' entry in fstypenames.davidc2002-10-101-1/+0
|
* turn off debugging by default if bandwidth delay product limiting isdillon2002-10-102-2/+2
| | | | turned on (it is already off in -stable).
* Update various comments mainly related to retransmit/FIN that Idillon2002-10-101-6/+36
| | | | | | | | documented while working on a previous bug. Fix a PERSIST bug. Properly account for a FIN sent during a PERSIST. MFC after: 7 days
* Get the most recent 2300 f/w that's on the QLogic intranet- fixes lotsmjacob2002-10-101-5683/+5802
| | | | | | of buglets and quite a few bugs. MFC after: 1 day
* From PHK's flex tool- we can get -1 returned from xpt_path_target_id,mjacob2002-10-101-15/+18
| | | | | | so don't index off of it. MFC after: 1 day
* Hook up strsep(3) to libkern following a repo-copy by Peter. This willrwatson2002-10-103-2/+4
| | | | | | allow us to avoid nasty by-hand string parsing stuff in a number of places in the kernel, reducing the risk of unexpected consequences for kernel correctness.
* Fixed a warning if COM_MULTIPORT option is not defined.nyan2002-10-102-2/+2
| | | | Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
* Remove '-DUFS1_ONLY' from CFLAGS. It is not needed.nyan2002-10-101-2/+0
|
* Incremental style improvements: more consistently avoid assignmentsrwatson2002-10-102-36/+62
| | | | | | | in conditionals; remove some excess vertical whitespace; remove a bug in the return handling of the delete_vp() case for MAC. Spotted by: bde
* Fixed SBUS_RA_*_region_* functions.nyan2002-10-102-128/+334
|
* Fix IPOPT_TS processing: do not overwrite IP address by timestamp.maxim2002-10-101-0/+2
| | | | | | | PR: misc/42121 Submitted by: Praveen Khurjekar <praveen@codito.com> Reviewed by: silence on -net MFC after: 1 month
* Allow ubsa(4) driver to be build as a kernel module.kan2002-10-101-0/+10
| | | | Approved by: obrien
* Regen from syntax fix to syscalls.master.rwatson2002-10-103-3/+3
|
* Regen from syntax fix to syscalls.master.rwatson2002-10-102-2/+2
| | | | | | | | | PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
* Fix what looks like a merge-o from a conflict in the last commit torwatson2002-10-101-9/+4
| | | | syscalls.master.
* geom_mbr.c and geom_bsd.c would be kinda useful here too, at leastpeter2002-10-101-0/+2
| | | | for a while.
* Explore new heights in alphabetization for _file and _fd variations onrwatson2002-10-102-120/+120
| | | | the extended attribute system calls.
OpenPOWER on IntegriCloud