Warner Losh [Tue, 29 Aug 2000 06:35:46 +0000 (06:35 +0000)]
Expand information about device.hints. Add information in the
cookbook section about needing to copy GENERIC.hints to
/boot/device.hints, as well as a footnote about exceptions to this
rule.
Warner Losh [Tue, 29 Aug 2000 04:40:17 +0000 (04:40 +0000)]
Add TI-1031 id. It doesn't work yet, but it is nice to have it.
These were on cards that were pci pccard (not cardbus) bridges that
lived in SparcUltras that picked up on ebay.
John Baldwin [Mon, 28 Aug 2000 23:14:44 +0000 (23:14 +0000)]
- Break the acd track devices out into a seperate target acdXt[Y]. The
X field is treated the same as the unit number for acdX. The optional
Y parameter specifies the number of track devices to create starting at
track 1. If Y is not specified, it defaults to 100.
- Add the acd0t target to the all target to preserve previous behavior.
- Don't add the acd0t target to the fixit target, thus keeping the fixit
floppy from running out of i-nodes.
Peter Wemm [Mon, 28 Aug 2000 22:09:38 +0000 (22:09 +0000)]
After positive feedback from a few folks, activate a switchover to
using killall.c instead of the perl version that depends on procfs.
The C version uses sysctl(). The program is based on a hack that was
originally written about 6 years ago and has evolved somewhat since then.
(which is why it is a superset of killall.pl, rather than being a clone.)
Doug Rabson [Mon, 28 Aug 2000 21:48:13 +0000 (21:48 +0000)]
* Completely rewrite the alpha busspace to hide the implementation from
the drivers.
* Remove legacy inx/outx support from chipset and replace with macros
which call busspace.
* Rework pci config accesses to route through the pcib device instead of
calling a MD function directly.
With these changes it is possible to cleanly support machines which have
more than one independantly numbered PCI busses. As a bonus, the new
busspace implementation should be measurably faster than the old one.
Doug Rabson [Mon, 28 Aug 2000 21:11:12 +0000 (21:11 +0000)]
Add kobj_class_compile_static() to allow classes to be initialised
statically (i.e. without calling malloc). This allows kobj to be used
very early in the boot sequence.
Bill Paul [Mon, 28 Aug 2000 20:40:03 +0000 (20:40 +0000)]
Add support for the 3Com 556 and 556B mini-pci adapters used on some
laptops. I've checked that this still works with the other cards and
it works with the 3c556 that I have access to, but I want to check that
it works with the 556B mentioned in PR #20878 before I close out the PR
and merge to -stable.
David Malone [Mon, 28 Aug 2000 15:45:42 +0000 (15:45 +0000)]
According to the susv2 man pages I have, remove(3) should act as
rmdir(2) on directories and unlink(2) otherwise. This modification,
and most of the man page update has been obtined from OpenBSD. This
was spotted by someone on a mailing lists a few months ago, but
I've lost their mail.
Sheldon Hearn [Mon, 28 Aug 2000 08:52:59 +0000 (08:52 +0000)]
Explain the notion that additional mount options may be described
in mount_XXX manual pages. Remove explicit mention of NFS mount
options, since they are accurately described by this rule.
Coleman Kane [Mon, 28 Aug 2000 04:28:53 +0000 (04:28 +0000)]
Removed detection for Voodoo Banshee and Voodoo3 cards. I forsee certain
possible complications with the forthcoming DRI code, and feel that DRI
should handle the device-level interaction. Read
http://people.FreeBSD.org/~cokane/3dfx.html
to find out more. Basically want to move toward using OpenGL and DRI for
everything on these cards. Added a few defines and spacing style fixes in
tdfx_vars.h
Kazutaka YOKOTA [Sun, 27 Aug 2000 12:36:28 +0000 (12:36 +0000)]
Fix ioctl MOUSE_SETMODE as defined in mouse(4).
(Do not return EINVAL when -1 is specified as a new value,
as it should mean "preserve the current value.")
Peter Wemm [Sun, 27 Aug 2000 00:46:25 +0000 (00:46 +0000)]
killall.c is meant to be a superset replacement of killall.pl, the
main difference is that it uses sysctl to get the process lists rather
than /proc - thereby reducing the dependency on /proc by one more tool.
Pass two pointer parameters to the r_debug_state() hook
function, thus allowing a debugger or other trace tool
to easily grab the addresses of the needed structures
off the stack.
This change is transparent to gdb, which locates the
link_map list and transfers it to debugger memory
for comparison purposes.
A sample program will be committed showing how this can
be used.
Peter Wemm [Fri, 25 Aug 2000 19:48:10 +0000 (19:48 +0000)]
If the config program found a hints file and included it as a fallback,
then treat it as such. This isn't perfect, but should do for things
like GENERIC. When in fallback mode, they will be used if there are NO
other hints.
Peter Wemm [Fri, 25 Aug 2000 19:30:03 +0000 (19:30 +0000)]
If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.
Peter Wemm [Fri, 25 Aug 2000 19:16:43 +0000 (19:16 +0000)]
Add some anti-foot-shooting protection to the kernel install target.
Do not install a kernel unless a device.hints exists. Yes, you can
create an empty hints file if you refuse to use them.
Mitsuru IWASAKI [Fri, 25 Aug 2000 19:04:16 +0000 (19:04 +0000)]
Move acpi_softc into acpi.h to be shared from additional files.
Add PowerResource manipulation code; acpi_powerres.c. (more files to
be created something like acpi_battery, acpi_thermal.c...)
Bruce Evans [Fri, 25 Aug 2000 09:03:58 +0000 (09:03 +0000)]
Quick fix for msdsofs_write() on alphas and other machines with either
longs larger than 32 bits or strict alignment requirements.
pm_fatmask had type u_long, but it must have a type that has precisely
32 bits and this type must be no smaller than int, so that ~pmp->pm_fatmask
has no bits above the 31st set. Otherwise, comparisons between (cn
| ~pmp->pm_fatmask) and magic 32-bit "cluster" numbers always fail.
The correct fix is to use the C99 type uint_least32_t and mask with
0xffffffff. The quick fix is to use u_int32_t and assume that ints
have
msdosfs metadata is riddled with unaligned fields, and on alphas,
unaligned_fixup() apparently has problems fixing up the unaligned
accesses caused by this. The quick fix is to not comment out the
NetBSD code that sort of handles this, and define UNALIGNED_ACCESS on
i386's so that the code doesn't change on i386's. The correct fix
would define UNALIGNED_ACCESS in a central machine-dependent header
and maybe add some extra cases to unaligned_fixup(). UNALIGNED_ACCESS
is also tested in isofs.
Submitted by: parts by Mark Abene <phiber@radicalmedia.com>
PR: 19086
John Baldwin [Thu, 24 Aug 2000 20:57:44 +0000 (20:57 +0000)]
Add a new compile-time tweak to BTX. If you set the make(1) variable
BOOT_BTX_NOHANG, then BTX will be compiled with the appropriate flags so
that it reboots after a fault instead of hanging forever.
Peter Wemm [Thu, 24 Aug 2000 20:22:44 +0000 (20:22 +0000)]
Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so remove
it to try and get world building again. (sys/conf.h now depends on
sys/types.h)