summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lock vm while playing with pmapalfred2001-05-232-0/+18
|
* Acquire Giant around vm_map_remove() inside of the obreak() syscall forjhb2001-05-231-2/+7
| | | | vm_object_terminate().
* Regeneratewpaul2001-05-231-1/+6
|
* Tweak the xmphy driver a little bit based on something I learned aboutwpaul2001-05-233-8/+23
| | | | | | | | | | | | | | | | | | | | | | | the built-in 1000baseX interface in the Level 1 LXT1001 chip. The Level 1 PHY comes up with the isolate bit in the control register set by default, but it also has the autonegotiate bit set. When you tell the xmphy driver to select IFM_AUTO mode, it sees that the autoneg bit is already on, and thus doesn't bother updating the control register. However this means that the isolate bit is never turned off (unless you manually select 1000baseSX full or half duplex mode, which does result in the control register being modified and the ISO bit being turned off). This subtle and unusual behavioral difference stopped me from being able to receive packets on the SMC9462TX card for several days, since isolating the PHY disconnects it from the MAC's data interface. The fix is to omit the 'is the autoneg big set?' test, since it doesn't really provide much of an optimization anyway. This commit also updates the xmphy driver to support the Jato/Level 1 internal PHY. (I'm not sure how Jato Technologies is related to Level 1: all I know is the OUI from the PHY ID registers maps to Jato in the OUI database.) This will be used once I add the if_lge driver to support the LXT10010 chip.
* Take a more conservative approach and still lock Giant around VM faultsjhb2001-05-231-8/+6
| | | | for now.
* - Lock the VM when initializing the vmspace for proc0.jhb2001-05-231-2/+2
| | | | | | - Don't bother releasing Giant while doing a lookup on the vm_map of initproc while starting up init. We have to grab it again right after the lookup anyways.
* Lock the VM while twiddling the vmspace.jhb2001-05-231-1/+2
|
* When a game ends that makes the top 10, the function insert_score inphk2001-05-231-1/+1
| | | | | | | | | | score.c is called to make the new score file. But the case for KFIRE (killed by fire) incorrectly uses strcpy instead of strcat (all the other cases use strcat). This puts the string in the wrong place and corrupts the score file. PR: 13278 Submitted by: Mark W. Krentel krentel@dreamscape.com
* Increment mbstat.m_mpfail, not mbstat.m_mcfail, when m_pullup() fails.bmilekic2001-05-231-1/+1
| | | | This slipped in accidently a few commits back.
* Fix memory leak.ume2001-05-231-0/+2
| | | | Submitted by: itojun
* Polish getnano{up}*time() prototypes.phk2001-05-231-2/+2
| | | | | PR: 15908 Submitted by: Kelly Yancey kbyanc@posi.net
* fdformat prompts for user confirmation. it exits 0 if the userphk2001-05-231-1/+1
| | | | | | | | doesn't confirm, which needlessly complicates scripts. PR: 15339 Submitted by: richard winkel rich@math.missouri.edu MFC after: 1 week
* Set the phys_pager_alloc_lock to 1 when it is acquired so that it isjhb2001-05-231-1/+2
| | | | actually locked.
* Don't release the vm lock just to turn around and grab it again.jhb2001-05-231-3/+0
|
* Make sure that all resource allocation is handled in the pcib device, notdfr2001-05-2312-119/+90
| | | | | | | | the chipset. This is already how the multi-hose systems handle resource allocation and it fixes a bug where dense and bwx memory allocations were not handled properly. Reviewed by: gallatin
* Add in assertions to ensure that we always call msleep or mawait withjhb2001-05-231-0/+4
| | | | | | | either a timeout or a held mutex to detect unprotected infinite sleeps that can easily lead to deadlock. Submitted by: alfred
* Vlan tags are 12 bits, mask off anything above since the chip doesn'tphk2001-05-232-4/+4
| | | | | | | | seem to do so for us. PR: 27567 Submitted by: Koji HINO hino@ccm.cl.nec.co.jp MFC after: 1 week
* syslogd gets kernel log messages only once every 30 seconds orphk2001-05-231-4/+7
| | | | | | | | | | | at the top of the minute, whichever comes first. It seems logtimeout() is only called once after the kernel log is opened and then never again after that. So I guess syslogd only gets kernel log messages by virtue of syncer(4)'s flushes ...? PR: 27361 Submitted by: pkern@utcc.utoronto.ca MFC after: 1 week
* Add some error codes that were added in RFC2616.des2001-05-231-0/+3
|
* Note that sys.mk is read before any other file (even Makefile)obrien2001-05-231-1/+4
|
* Use '+' not '|' to add PCATCH to tsleep.phk2001-05-231-2/+2
|
* Use the correct enums in struct sysinit.phk2001-05-231-2/+2
|
* Remove the empty uscannerioctl() and use noioctl() instead.phk2001-05-231-8/+1
|
* Change the way deletes are managed in DEVFS.phk2001-05-232-42/+114
| | | | | | | This fixes a number of warnings relating to removed cloned devices. It also makes it possible to recreate deleted devices with mknod(2). The major/minor arguments are ignored.
* Document new /usr/include/fs include subdirs.ru2001-05-231-0/+15
|
* Changed 'blocks' to 'usage' because we may not be getting quotas frompirzyk2001-05-231-1/+1
| | | | | | | | | | a ufs filesystem and it may be reporting in K instead of 512b blocks. This is true when using a vxfs filesystem (on a solaris box) for instance. PR: bin/14545 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week
* Backout (almost) revision 1.137 changes.ru2001-05-231-2/+8
| | | | | | | | | Removal of LSYMSUBDIRS was a regression. The purpose of LSYMSUBDIRS is to export only those /sys headers in the SHARED=symlinks case that are also visible in the SHARED=copies case. Requested by: bde
* catch up to i386:gallatin2001-05-231-7/+24
| | | | | | | - remove Giant for vm related traps - don't hold Giant for MP safe syscalls Reviewed-by: jhb
* Changed the clnt_perror string in yp_all because it was saying thepirzyk2001-05-231-1/+1
| | | | | | | | | error came from yp_next PR: bin/13254 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week
* Argh, unbreak SHARED=copied case.ru2001-05-231-2/+2
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-2349-3299/+73
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* Add NO_I4B to avoid building/installing isdn4bsd package.ru2001-05-236-4/+21
| | | | | Prompted by: Alexandr Listopad <laa@laa.zp.ua> MFC after: 3 days
* Fix the range of the returned value.ru2001-05-231-1/+1
| | | | | PR: docs/27446 Submitted by: Tadayuki OKADA <tadayuki@mediaone.net>
* ufs_bmaparray() may block on IO, drop vm mutex and aquire Giant whenalfred2001-05-231-0/+10
| | | | calling it from the pager routine
* aquire Giant when playing with the buffercache and doing IO.alfred2001-05-231-2/+5
| | | | use msleep against the vm mutex while waiting for a page IO to complete.
* aquire vm_mutex a little bit earlier to protect a pmap call.alfred2001-05-231-1/+1
|
* The following modules were renamed:ru2001-05-231-4/+4
| | | | | | | fdesc -> fdescfs portal -> portalfs umap -> umapfs union -> unionfs
* Name this module `umapfs'.ru2001-05-231-1/+1
|
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-23117-14501/+156
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Move objflags from vinumvar.h to vinumobj.h in preparation forgrog2001-05-231-45/+1
| | | | | | | requiring fewer header files for userland programs. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module.
* Move objflags from vinumvar.h to vinumobj.h in preparation forgrog2001-05-231-2/+37
| | | | requiring fewer header files for userland programs.
* Move external declaration to vinumhdr.h.grog2001-05-231-1/+2
|
* Set flag VF_HASDEBUG in vinum_conf to indicate that the module wasgrog2001-05-231-10/+6
| | | | | | | | | | | | compiled with debug support. This can be used by userland programs to recognize which ioctls the module supports. As a result, remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module. Replace explicit references to major/minor numbers of vinum superdevice with the VINUM_SUPERDEV macro written for that purpose.
* Remove -DVINUMDEBUG. vinum(8) now always supports debug options ifgrog2001-05-231-1/+1
| | | | the kernel module is built that way.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-37/+1
| | | | | | | if the kernel module is built that way. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module.
* vinum_debug: Check for kernel module debug support, print errorgrog2001-05-231-10/+11
| | | | message if not present.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-175/+175
| | | | | | | if the kernel module is built that way. vinum_info: Check for kernel module debug support, print error message if not present.
* Add better support for the Ricoh 5C296 and 5C396 chips. These chipsimp2001-05-234-9/+28
| | | | | | have a slightly different 3.3V support than the other clones, so compensate as best we can. Note: 3.3V support is untested since I do not have any 3.3V cards that I know of to test it with.
* Add recognition for Toshiba ToPIC-100.imp2001-05-232-0/+4
| | | | Submitted by: Shimodaira Toshio <tshimod1@ym.nsw.co.jp> in [bsd-nomads:15589]
* Add a makefile for snp(4) since it can be compiled as a module now.dd2001-05-221-0/+9
|
OpenPOWER on IntegriCloud