Commit Graph

39511 Commits

Author SHA1 Message Date
billf
46ddadfa37 Avoid ambigious if/else 1999-07-21 02:49:42 +00:00
peter
73ae754f05 Hopefully make the CMD640B workaround actually work. 1999-07-21 02:28:35 +00:00
billf
4ee645205b Avoid ambigious if-else 1999-07-21 01:55:03 +00:00
billf
f70e6b3a4d Since we are using strlen() let's assign it to the correct type and
include the proper header.
1999-07-21 00:51:14 +00:00
msmith
a5862823bf Walk around the end of all the silly guessing of device types and unit
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.
1999-07-21 00:08:54 +00:00
julian
248a78cc0d Slight cleanups of the Cyrix 5530 UDMA code.
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.
1999-07-20 22:43:53 +00:00
green
c778c9d8cb Fix a REALLY embarrassing mistake. Don't look; I warned you. 1999-07-20 21:51:12 +00:00
green
c5a5709dfe Make a dev2budev() function, and use it. This refixes pstat (working, broken,
working, broken, working) and savecore (working, working, broken, working,
working).

Sorta Reviewed by:	phk
1999-07-20 21:29:13 +00:00
wpaul
03c728a0ab Convert the xl driver to newbus. It is now possible to make this driver
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.
1999-07-20 21:23:17 +00:00
jkh
d7df7320f5 XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tool
to work (fnark).
1999-07-20 21:06:18 +00:00
green
8fd5b38ec7 dev2udev() returns a CDEV udev_t, but we use block io in savecore. Savecore
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.
1999-07-20 20:55:50 +00:00
nik
02e85ac2c1 Correct the information about the return value when no device matches
(or no information is available).

PR:             docs/12707
Submitted by:   Chris Costello <chris@calldei.com>
1999-07-20 20:48:40 +00:00
nik
12c6c332a7 Correct some grammar and style problems with this page.
Submitted by:   Kris Kennaway <root@rebel.net.au>
1999-07-20 20:46:26 +00:00
wpaul
c6c4fd3354 Correct the alignment of some of the members in the wi_frame structure.
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.
1999-07-20 20:03:42 +00:00
green
ba609e7eff Make bcd2int work (resume time reporting now works.)
PR:		12613
Submitted by:	Michael Constant <mconst@not.there.com>
1999-07-20 15:37:28 +00:00
green
4b2dc69309 Make wall_cmos do something.
PR:		12614
1999-07-20 15:31:23 +00:00
green
f29b75de29 I missed a not. Also, remove invltlb(), since it's "unncessary [sic] because
wbinvd already flushes the the TLB."
1999-07-20 13:21:55 +00:00
phk
db6b908cb1 Now a dev_t is a pointer to struct specinfo which is shared by all specdev
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
1999-07-20 09:47:55 +00:00
phk
a50d115234 Also check against chardevs when looking for root. 1999-07-20 08:50:54 +00:00
jkh
34c6cab383 The matcd driver is acting strange (returning a successful open even
when it fails).  Disable it in sysinstall for now.
1999-07-20 08:47:35 +00:00
jkh
33156a0288 Fix a bad dhcp keyword; it's host-name not server-name. 1999-07-20 08:08:24 +00:00
jkh
f3a8e75d0d Add slovakian ftp mirror.
Submitted by:		"Tomas TPS Ulej" <tps@ti.sk>
1999-07-20 07:50:26 +00:00
jkh
9af17c13e3 More Alpha ifdefage. 1999-07-20 07:39:22 +00:00
phk
0181a02b61 use vp->v_rdev;
OK'ed by:	grog
1999-07-20 07:29:54 +00:00
phk
760ac8ccd5 add debug.sizeof.specinfo 1999-07-20 07:19:32 +00:00
phk
b5e2df574d Don't access the device with vp->v_specinfo->si_rdev, use vp->v_rdev. 1999-07-20 07:18:17 +00:00
msmith
61505c74f5 Update of the i686 MTRR/memory range support.
- 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.
1999-07-20 06:58:51 +00:00
msmith
2e2d9edbdc Implement an all-CPU shootdown-style rendezvous facility. This allows
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)
1999-07-20 06:52:35 +00:00
alc
e0fc70c923 An SMP-specific change: Eliminate an unnecessary lock acquire and release
in setdelayed.

Submitted by:	luoqi and bde
1999-07-20 06:09:53 +00:00
alc
2da62832ae Convert a "page not busy" warning to an assertion.
Submitted by:	dillon@backplane.com
1999-07-20 05:46:56 +00:00
jkh
2be86bdd84 Get bpf0 onto the MFS image. 1999-07-20 05:00:00 +00:00
msmith
306522cd3e Make memcontrol's internal help actually work. No substitute for a real
manpage, but at least now you can get syntax help without resorting
to reading the source.
1999-07-20 04:33:14 +00:00
rnordier
c7f4e998c2 Reintroduce LBA (cyl > 1023) support in the bootblocks, enabled by
means of a build option.
1999-07-20 01:19:23 +00:00
peter
840f6f2485 Fix a page size vs. KB mixup. The extra buffers allocated at a reduced
rate is meant to kick in at 64MB, not 256MB.

Reviewed by:	Matthew Dillon <dillon@backplane.com>
1999-07-19 23:36:30 +00:00
nik
71fbbf6573 Document the "skey" command in telnet(1).
PR:             docs/12360
Submitted by:   kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
1999-07-19 22:24:32 +00:00
luoqi
b19f5a0265 Check if an fs is mounted before checking if it is mounted read-only.
Pointed out by:		Mike Smith	<msmith@freebsd.org>
1999-07-19 21:04:25 +00:00
rnordier
a7afad5c3f Activate kgzip. 1999-07-19 20:22:44 +00:00
rnordier
bbc6188804 Activate kgzldr. 1999-07-19 20:16:34 +00:00
rnordier
289309451d Use M4FLAGS for m4. 1999-07-19 20:10:17 +00:00
markm
7eec134793 Fix a problem where commands in backticks `` wont get executed in taint
mode because of an insecure path.

Reported by:	George Cox
1999-07-19 18:17:54 +00:00
rnordier
91c94bd082 This commit was generated by cvs2svn to compensate for changes in r48907,
which included commits to RCS files with non-trunk default branches.
1999-07-19 18:07:44 +00:00
rnordier
f5a2fbe418 kgzldr is a kzipboot replacement for use with kgzip(8).
Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:07:44 +00:00
rnordier
bff311200f This commit was generated by cvs2svn to compensate for changes in r48905,
which included commits to RCS files with non-trunk default branches.
1999-07-19 18:00:18 +00:00
rnordier
21ebb70093 kgzip is a kzip(8) replacement able to compress and link bootable
32-bit binaries in both ELF and a.out format.

Development sponsored by Global Technology Associates, Inc.

Reviewed/tested by: abial
1999-07-19 18:00:18 +00:00
green
45d6d24729 Various cleanups. 1999-07-19 17:37:42 +00:00
hosokawa
e83dc7071c Sync with GENERIC (place of xe0 driver) 1999-07-19 15:18:21 +00:00
hosokawa
3fedce3049 sync with boot_crunch.conf.generic
(added arp, sed, and test)
1999-07-19 12:23:33 +00:00
jkh
febde75d0f Catch an XFree86 3.3.4 update I missed. 1999-07-19 11:58:01 +00:00
jkh
c53c574b39 Update for XFree86 3.3.4 1999-07-19 11:49:22 +00:00
jkh
f7a8e911ac Wait for dhclient in a far saner fashion.
Submitted by:	obrien
1999-07-19 11:00:56 +00:00