summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Small tweak to newbus changes: return error status on failure correctlywpaul1999-07-221-2/+2
| | | | | in xl_attach() (not a problem if the attach never fails, but if it does the function would still return 0, which is wrong).
* Vastly improve the speed of the file command by makingwes1999-07-222-6/+7
| | | | | | | | | the expected size of the magic(5) database agree with the real world. Also, improve the behavior of the realloc mechanism when the magic database does exceed expectations. Reviewed by: Peter Jeremy, Matt Dillon Obtained from: Peter Edwards <peter.edwards@isocor.ie>
* Make mountroot work again (change makedev to makebdev).dfr1999-07-211-3/+4
|
* Add ``cvsup''.obrien1999-07-211-1/+2
|
* Fix the following problem:alc1999-07-217-16/+55
| | | | | | | | | | | | | | | | When creating new processes (or performing exec), the new page directory is initialized too early. The kernel might grow before p_vmspace is initialized for the new process. Since pmap_growkernel doesn't yet know about the new page directory, it isn't updated, and subsequent use causes a failure. The fix is (1) to clear p_vmspace early, to stop pmap_growkernel from stomping on memory, and (2) to defer part of the initialization of new page directories until p_vmspace is initialized. PR: kern/12378 Submitted by: tegge Reviewed by: dfr
* Fix for the hosts_options(5) spawn option.sheldonh1999-07-211-5/+9
| | | | | | | | | | | | | | | Restore default SIGHUP, SIGCHLD and SIGALRM handlers in forked inetd processes. This happens to work around the fact that hosts_access() doesn't (but should) set SIG_IGN as the handler for SIGCHLD while it handles the spawn option, but it would make sense even if that were not true. This does not address the leaking descriptors issue discussed on the same PR. PR: 12731 Reviewed by: des Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Fixed missing changes from sys/pc98/pc98/pc98.c when new-bus was integrated.nyan1999-07-212-2/+44
| | | | | | | - In isa_dmastart() and isa_dmadone(), cache flush. - Correct current word register address. Submitted by (partial): Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
* Remove the RCS "Log" and all the verbiage it has generated.phk1999-07-2120-2608/+24
|
* Hack to work around a NULL pointer dereferencation that can be triggeredjoerg1999-07-212-2/+10
| | | | | | | | by removing a floppy that as being operated on. The spagghetti is hardly understandable at all anymore, so i can't 100 % ascertain this is really the Right Thing to do, maybe our new floppy driver maintainer, Jesus Monroy Jr can do this. :-))
* Fix horribly broken comment. The submitter of the associated code sentsheldonh1999-07-211-3/+4
| | | | me the right comment and I bastardized it. :-(
* Fix a gcc stupidity where it thought a variable was being used uninitializedbillf1999-07-212-4/+10
| | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically.
* Avoid ambigious if/elsebillf1999-07-212-4/+6
|
* Hopefully make the CMD640B workaround actually work.peter1999-07-211-9/+6
|
* Avoid ambigious if-elsebillf1999-07-211-4/+7
|
* Since we are using strlen() let's assign it to the correct type andbillf1999-07-211-2/+3
| | | | include the proper header.
* Walk around the end of all the silly guessing of device types and unitmsmith1999-07-216-9/+108
| | | | | | | numbers that we have been doing in the past, and read /etc/fstab off the proposed root filesystem to determine the actual device name and vfs type for the root filesystem. These are then exported to the kernel via the environment variable vfs.root.mountfrom.
* Slight cleanups of the Cyrix 5530 UDMA code.julian1999-07-201-100/+125
| | | | | | Also includes a workaround fro an apparent chip bug where UDMA mode 2 can overpower the UDMA engine enough that it will hog the PCI bus to the exclusion of the processor.
* Fix a REALLY embarrassing mistake. Don't look; I warned you.green1999-07-201-2/+2
|
* Make a dev2budev() function, and use it. This refixes pstat (working, broken,green1999-07-204-9/+16
| | | | | | | working, broken, working) and savecore (working, working, broken, working, working). Sorta Reviewed by: phk
* Convert the xl driver to newbus. It is now possible to make this driverwpaul1999-07-202-88/+127
| | | | | | | | | | into a loadable module, and all of the platform dependencies are gone (except for the alpha_XXX_dmamap() thing, which is another issue -- I still don't know how to use the busdma stuff with a network driver). Also increase the delay in xl_reset(); testing on a 486/66 with a 3c905C shows that reading the EEPROM fails immediately after a reset. Waiting a little longer after the reset completes seems to fix it.
* XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tooljkh1999-07-203-3/+6
| | | | to work (fnark).
* dev2udev() returns a CDEV udev_t, but we use block io in savecore. Savecoregreen1999-07-201-2/+5
| | | | | | | also gets the device by st_rdev, which is alright except for the fact that the sysctl kern.dumpdev passed out a char device. This is a workaround. Sorry for not committing the fix earlier, before people started having problems.
* Correct the information about the return value when no device matchesnik1999-07-201-6/+4
| | | | | | | (or no information is available). PR: docs/12707 Submitted by: Chris Costello <chris@calldei.com>
* Correct some grammar and style problems with this page.nik1999-07-201-16/+16
| | | | Submitted by: Kris Kennaway <root@rebel.net.au>
* Correct the alignment of some of the members in the wi_frame structure.wpaul1999-07-202-6/+10
| | | | | | The structure is the right length, but some of the members (notably wi_q_info) were off a bit. This causes the received signal strength values to appear bogus.
* Make bcd2int work (resume time reporting now works.)green1999-07-201-3/+5
| | | | | PR: 12613 Submitted by: Michael Constant <mconst@not.there.com>
* Make wall_cmos do something.green1999-07-201-4/+13
| | | | PR: 12614
* I missed a not. Also, remove invltlb(), since it's "unncessary [sic] becausegreen1999-07-201-4/+2
| | | | wbinvd already flushes the the TLB."
* Now a dev_t is a pointer to struct specinfo which is shared by all specdevphk1999-07-2013-194/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vnodes referencing this device. Details: cdevsw->d_parms has been removed, the specinfo is available now (== dev_t) and the driver should modify it directly when applicable, and the only driver doing so, does so: vn.c. I am not sure the logic in checking for "<" was right before, and it looks even less so now. An intial pool of 50 struct specinfo are depleted during early boot, after that malloc had better work. It is likely that fewer than 50 would do. Hashing is done from udev_t to dev_t with a prime number remainder hash, experiments show no better hash available for decent cost (MD5 is only marginally better) The prime number used should not be close to a power of two, we use 83 for now. Add new checkalias2() to get around the loss of info from dev2udev() in bdevvp(); The aliased vnodes are hung on a list straight of the dev_t, and speclisth[SPECSZ] is unused. The sharing of struct specinfo means that the v_specnext moves into the vnode which grows by 4 bytes. Don't use a VBLK dev_t which doesn't make sense in MFS, now we hang a dummy cdevsw on B/Cmaj 253 so that things look sane. Storage overhead from all of this is O(50k). Bump __FreeBSD_version to 400009 The next step will add the stuff needed so device-drivers can start to hang things from struct specinfo
* Also check against chardevs when looking for root.phk1999-07-204-4/+12
|
* The matcd driver is acting strange (returning a successful open evenjkh1999-07-203-3/+9
| | | | when it fails). Disable it in sysinstall for now.
* Fix a bad dhcp keyword; it's host-name not server-name.jkh1999-07-202-6/+6
|
* Add slovakian ftp mirror.jkh1999-07-203-3/+9
| | | | Submitted by: "Tomas TPS Ulej" <tps@ti.sk>
* More Alpha ifdefage.jkh1999-07-206-6/+42
|
* use vp->v_rdev;phk1999-07-201-2/+2
| | | | OK'ed by: grog
* add debug.sizeof.specinfophk1999-07-201-1/+5
|
* Don't access the device with vp->v_specinfo->si_rdev, use vp->v_rdev.phk1999-07-202-4/+56
|
* Update of the i686 MTRR/memory range support.msmith1999-07-202-90/+92
| | | | | | | | | | | | | - Support for setting memory range attributes on SMP systems using the new SMP rendezvous function - Don't print the confusing default memory type message. - Allow legal overlapping range types. - Turn interrupts back on after setting MTRRs in UP mode (whoops) - Don't waste time calling invltlb() after wbinvd(); it's not SMP-compatible (interrupts are off) and unncessary because wbinvd already flushes the TLB. This code is now essentially feature-complete.
* Implement an all-CPU shootdown-style rendezvous facility. This allowsmsmith1999-07-2016-18/+699
| | | | | | | | | | | the caller to specify a function to be guarded between an entry and exit barrier, as well as pre- and post-barrier functions. The primary use for this function is synchronised update of per-cpu private data. The implementation is almost (but not quite) MI; with a better mechanism for masking per-CPU interrupts it could probably be hoisted. Reviewed by: peter (partially)
* An SMP-specific change: Eliminate an unnecessary lock acquire and releasealc1999-07-201-10/+1
| | | | | | in setdelayed. Submitted by: luoqi and bde
* Convert a "page not busy" warning to an assertion.alc1999-07-201-7/+3
| | | | Submitted by: dillon@backplane.com
* Get bpf0 onto the MFS image.jkh1999-07-201-2/+2
|
* Make memcontrol's internal help actually work. No substitute for a realmsmith1999-07-201-3/+19
| | | | | manpage, but at least now you can get syntax help without resorting to reading the source.
* Reintroduce LBA (cyl > 1023) support in the bootblocks, enabled byrnordier1999-07-205-57/+111
| | | | means of a build option.
* Fix a page size vs. KB mixup. The extra buffers allocated at a reducedpeter1999-07-192-8/+8
| | | | | | rate is meant to kick in at 64MB, not 256MB. Reviewed by: Matthew Dillon <dillon@backplane.com>
* Document the "skey" command in telnet(1).nik1999-07-191-1/+5
| | | | | PR: docs/12360 Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
* Check if an fs is mounted before checking if it is mounted read-only.luoqi1999-07-191-2/+3
| | | | Pointed out by: Mike Smith <msmith@freebsd.org>
* Activate kgzip.rnordier1999-07-191-1/+2
|
* Activate kgzldr.rnordier1999-07-191-2/+2
|
* Use M4FLAGS for m4.rnordier1999-07-191-4/+4
|
OpenPOWER on IntegriCloud