Doug Rabson
403030180d
Fix the atomic arithmetic primitives for address where (p&7) >= 4.
...
Reviewed by: gallatin
1999-11-04 09:55:07 +00:00
Alan Cox
2bf93af129
Eliminate two useracc(..., VM_PROT_READ) calls that immediately precede
...
copyin() calls.
Submitted by: bde
1999-11-04 07:21:41 +00:00
Mike Smith
90ebaea979
Re-implement the handing of RB_CDROM in a machine-independant fashion.
...
We currently only search SCSI and IDE CDROMs; if there's felt to be a
need for supporting the very old and rare soundcard etc. drives for this
application they can be trivially added.
1999-11-04 01:40:18 +00:00
Andrew Gallatin
870c4cf8eb
now that a map's base addr is 64-bits, the alpha multi-hose hack needs
...
to be cast to 64-bits in pci_add_map. This should allow XP1000s and
DS20s to boot -current again.
1999-11-03 22:43:03 +00:00
Archie Cobbs
1dd0feaaab
Fix bug in BIOCGETIF ioctl() where it would return a bogus interface
...
name if the interface unit number was greater than 9.
1999-11-03 21:32:28 +00:00
Doug Rabson
ef4939417a
Add back netboot since it compiles just fine. Note that you need a full
...
source tree to build netboot since it depends on headers from libstand.
1999-11-03 20:19:30 +00:00
Doug Rabson
0296dea15c
* Don't wait forever for the boot2 filename if the PCC wraps.
...
* If the user presses return, load boot2 immediately.
1999-11-03 20:18:12 +00:00
Greg Lehey
4e449fe462
Emergency fix to stop world breakage.
...
Broken-by: archie
1999-11-03 20:04:00 +00:00
Poul-Henning Kamp
1a4e73ba51
Move strto{u}[ql]() into their own libkern files.
...
Urged by: bde
1999-11-03 18:20:59 +00:00
Poul-Henning Kamp
5b664c7c13
Move isfoo() and friends to the newly created sys/ctype.h.
...
Urged by: bde
1999-11-03 17:54:26 +00:00
Matthew N. Dodd
5178bd8bde
Fix bus_setup_intr(); I changed exintr() to take a pointer to ex_softc
...
but didn't change bus_setup_intr() to pass the softc in.
Submitted by: Warner Losh <imp@village.org>
1999-11-03 15:45:14 +00:00
Poul-Henning Kamp
fa52394878
Remove compat cruft.
1999-11-03 14:15:18 +00:00
Bruce Evans
5bd5c8b9e5
Quick fix for breakage of ext2fs link counts as reported by stat(2) by
...
the soft updates changes: only report the link count to be i_effnlink
in ufs_getattr() for file systems that maintain i_effnlink.
Tested by: Mike Dracopoulos <mdraco@math.uoa.gr>
1999-11-03 12:05:39 +00:00
Mike Smith
88d4183b84
Make MFS work with the new root filesystem search process.
...
In order to achieve this, root filesystem mount is moved from
SI_ORDER_FIRST to SI_ORDER_SECOND in the SI_SUB_MOUNT_ROOT sysinit
group. Now, modules which wish to usurp the default root mount
can use SI_ORDER_FIRST.
A compiled-in or preloaded MFS filesystem will become the root
filesystem unless the vfs.root.mountfrom environment variable refers
to a valid bootable device. This will normally only be the case when
the kernel and MFS image have been loaded from a disk which has a
valid /etc/fstab file. In this case, the variable should be manually
overridden in the loader, or the kernel booted with -a. In either
case "mfs:" should be supplied as the new value.
Also fix a typo in one DFLTROOT case that would not have compiled.
1999-11-03 11:02:47 +00:00
Yoshihiro Takahashi
c89e63c1af
Cosmetic changes.
1999-11-03 10:08:15 +00:00
Yoshihiro Takahashi
75c0f11718
Support RSA-98III PnP mode.
1999-11-03 09:13:16 +00:00
Yoshihiro Takahashi
53a70a424e
Sync with sys/isa/sio.c revision from 1.269 to 1.273.
1999-11-03 09:02:23 +00:00
Yoshihiro Takahashi
38e7b70f91
Remove unnecessary file.
1999-11-03 08:45:16 +00:00
Yoshihiro Takahashi
e80b158987
Sync with sys/i386/conf/GENERIC revision 1.199.
1999-11-03 08:43:11 +00:00
Yoshihiro Takahashi
064fc58a7c
Sync with sys/i386/isa/clock.c revision 1.146.
1999-11-03 08:36:17 +00:00
Yoshihiro Takahashi
09b1cdbdb5
Sync with sys/boot/i386/btx/btx/btx.s revision 1.13.
1999-11-03 08:32:03 +00:00
Yoshihiro Takahashi
c1f84244fb
Sync with sys/i386/i386/machdep.c revision 1.371.
1999-11-03 08:25:40 +00:00
Yoshihiro Takahashi
2bb35fafc7
Sync with sys/boot/i386/libi386/Makefile revision 1.15.
1999-11-03 08:23:57 +00:00
Yoshihiro Takahashi
2da4a92c96
Sync with sys/dev/syscons/syscons.c revision 1.326.
1999-11-03 08:19:35 +00:00
Seigo Tanimura
083279e41b
Fix for multiple pcm devices.
1999-11-03 08:10:49 +00:00
Andrew Gallatin
160dd8eb7b
Add a second direct map window to increase the maximum RAM this platform
...
can deal with from 1GB to 2GB. I have no way to test with >1GB because I
don't have high enough density memory to get any one box over 1GB. However, I
have tested it on xp1000 & ds10 with < 1GB of memory & have verified that it
does no harm.
1999-11-03 01:16:11 +00:00
Archie Cobbs
9cb887a606
Add statistics counters to "tee" netgraph node type.
1999-11-02 23:31:49 +00:00
Archie Cobbs
2b70adcbbe
Simplify checking/parsing of strings using strtoul(), isdigit(), etc.
1999-11-02 23:18:01 +00:00
Archie Cobbs
44b4dd855d
Consolidate some of the various ctype(3) macros in one location.
1999-11-02 22:50:34 +00:00
Archie Cobbs
60fffafdc3
Change structure field named 'toupper' to 'to_upper' to avoid conflict
...
with the macro of the same name. Same thing for 'tolower'.
1999-11-02 22:46:42 +00:00
Archie Cobbs
2ea6270424
Change isspace() macro name to avoid conflict.
1999-11-02 22:42:56 +00:00
Archie Cobbs
9ac362ddff
Remove unused macro definition.
1999-11-02 22:40:15 +00:00
Archie Cobbs
b0801bac74
Add new options NETGRAPH_PPP and NETGRAPH_PPPOE, plus NETGRAPH_SOCKET which
...
was missing from before.
1999-11-02 22:38:50 +00:00
Archie Cobbs
6827c8fed3
Add options NETGRAPH_PPP and NETGRAPH_PPPOE.
1999-11-02 22:36:09 +00:00
Archie Cobbs
da5e3849b2
Fix typo in previous commit.
1999-11-02 22:24:41 +00:00
John Baldwin
f513096dfb
Remove the prototypes for two functions that were removed when the
...
CD9660_ROOT option was axed.
1999-11-02 19:38:27 +00:00
Mike Smith
2fb05ea1fc
Cut out some extra dead code that I missed last time around. I think
...
this will fix the alpha kernel build now (MFS excluded).
1999-11-02 19:29:20 +00:00
Poul-Henning Kamp
3cf4d0bfbd
Add mn0 in the netgraph section.
1999-11-02 14:25:04 +00:00
Poul-Henning Kamp
e118f907db
New driver: Nx64kbit/s E1/T1 cards based on Munich32x&Falc54.
...
This is a netgraph driver.
1999-11-02 14:23:14 +00:00
Poul-Henning Kamp
55f2c40541
Remove two private copies of strtoul()
...
Spotted by: bde
1999-11-02 09:34:09 +00:00
Brian Feldman
fa470df9db
Unbreak this build.
1999-11-02 04:16:17 +00:00
Mike Smith
97adfbaf83
Correctly compute the block count. In reality, it seems that the
...
controller will never return the command if it's not exactly a multiple
of a block in size.
Cosmetic formatting for RAID level output.
1999-11-02 03:25:24 +00:00
Mike Smith
83f2409369
Don't print the chipset value; it's not useful.
...
Now we know what some of the state values are, print the current array
state.
1999-11-02 03:24:09 +00:00
Jonathan M. Bresler
aab735d218
fix misordering of two lines in this file.
1999-11-02 02:19:24 +00:00
Mike Smith
6d14782861
Newline-terminate the complaint message about not being able to find
...
the root vnode pointer.
1999-11-01 23:57:28 +00:00
Mike Smith
b7017a8210
Call bootpc_init before we try to mount an NFS root, if we're configured
...
to use BOOTP for NFS root discovery.
The entire interface setup inside nfs_mountroot is evil, and should die.
1999-11-01 23:55:38 +00:00
Mike Smith
b676e48c98
Move a couple of globals here where they are initialised, rather than
...
orphaning them in vfs_conf.c
1999-11-01 23:54:07 +00:00
Mike Smith
92b3c1b050
swapinit isn't called from vfs_mountroot, so don't complain about it in
...
a #if 0'ed comment.
Call the machine-dependant cpu_rootconf functions from sysinits in their
respective areas, don't do it from a stub here.
1999-11-01 23:53:27 +00:00
Mike Smith
ed9f9797bb
This is a complete rewrite of vfs_conf.c, which changes the way the root
...
filesystem is discovered. Preference is given to using the kernel
environment variable vfs.root.mountfrom, which is set by the loader
according to the contents of /etc/fstab. Changes in the MD code
provide fallback mechanisms for systems not using the loader.
A more robust fallback path is also provided, with the last recourse
being to prompt on the console for a root device.
These changes drastically simplify the machine-dependant parts of
the root configuration process. In addition, support for CDROM root
devices has been removed; it was a nasty hack and didn't work.
1999-11-01 23:51:00 +00:00
Nicolas Souchu
7a19171479
Sync with RELENG_3.
1999-11-01 23:15:29 +00:00