cokane [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
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 [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.
jwd [Sat, 26 Aug 2000 05:13:29 +0000 (05:13 +0000)]
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 [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 [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 [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.
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...)
bde [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
jhb [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 [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)
peter [Thu, 24 Aug 2000 18:53:09 +0000 (18:53 +0000)]
I should know better than to touch this without testing a 'make release'
but ${MACHINE_ARCH} should be ${MACHINE} here. pc98 has its own
GENERIC.hints file and should not be used with the i386 version.
jhb [Thu, 24 Aug 2000 17:54:45 +0000 (17:54 +0000)]
- When adjusting the end of a partition to lie on a cylinder boundary, don't
adjust the size, but the actual end.
- Break out some of the sanity checks on partitions into a sanitize_partition
function.
- When adjusting partitions, always adjust the start "up", and the end "down"
so that we stay within the boundaries of the original request.
- Various small nits found by bde.
phk [Thu, 24 Aug 2000 15:36:55 +0000 (15:36 +0000)]
Fix panic when removing open device (found by bp@)
Implement subdirs.
Build the full "devicename" for cloning functions.
Fix panic when deleted device goes away.
Collaps devfs_dir and devfs_dirent structures.
Add proper cloning to the /dev/fd* "device-"driver.
Fix a bug in make_dev_alias() handling which made aliases appear
multiple times.
Use devfs_clone to implement getdiskbyname()
Make specfs maintain the stat(2) timestamps per dev_t
imp [Thu, 24 Aug 2000 07:01:12 +0000 (07:01 +0000)]
o Fix unterminated comment
o Sync to NetBSD (rev NetBSD-user edited-log):
1.97 onoe add Samsung MagicLAN SWL-2000N
1.96 gmcgarry Add entries for all Xircom ethernet models.
1.95 onoe Add Farallon SkyLINE 11mb card as Intersil Prism2 [...]
1.94 joda add 3Com 3CRWE737A (AirConnect)
1.93 soren Include vendor name for IBM products.
1.92 onoe Add Farallon SkyLINE Wireless LAN Card for awi(4) [...]
1.91 soren Add Olicom GoCard.
1.90 gmcgarry Clean up XIRCOM entries
- Add entry for Xircom CreditCard Ethernet + Modem 28
- Add entry for Intel EtherExpress PRO/100
- Add entry for Compaq Netelligent 10/100 Ethernet
1.89 is RATOC REX-R280 (another if_mbe_pcmcia card) support by [...]
1.88 joda Panasonic KXLC003
1.87 scw [...] SOHOware PCMCIA Ethernet card, model ND5100-E [...]
1.86 itojun add CIS for Corega Wireless LAN PCC-11 [...]
o Minor diffs between the two files corrected to aid future sync.
alfred [Wed, 23 Aug 2000 23:36:32 +0000 (23:36 +0000)]
the code assumes that getgroups() always returns NGROUPS groups, however
that is not true. Instead of looping NGROUPS times, get the return value
from getgroups() and loop over the return that many times.
Noticed by: David A. Holland <dholland@eecs.harvard.edu>
bmah [Wed, 23 Aug 2000 16:40:34 +0000 (16:40 +0000)]
Make the following additional entries to RELNOTES.TXT files:
alpha: tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, logger(1) support for
remote syslogs.
i386: tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, boot98cfg(8),
logger(1) support for remote syslogs.
sheldonh [Wed, 23 Aug 2000 09:59:25 +0000 (09:59 +0000)]
Only print information about reads and writes when the -v flag (for
verbose mode) is specified. This should really have been the case
when this extra cruft was first introduced in rev 1.23.
sheldonh [Wed, 23 Aug 2000 09:29:05 +0000 (09:29 +0000)]
Fix the matcd driver for the new world order. This basically just
renames matcdc to matcd.
This change is reported to work by two independent PR originators.
In the absence of further feedback on the freebsd-bugs list, we
may as well get this working for its two users.
PR: 20296
Submitted by: George Russell <george.russell@clara.net>,
Remi Guyomarch <rguyom@mail.dotcom.fr>
sheldonh [Wed, 23 Aug 2000 09:05:19 +0000 (09:05 +0000)]
Miscellaneous fixes:
* Clear extraneous argument to the Os macro.
* Place the name description on the Nd line.
* Mark sub-sections up with Ss, not Sh.
* Don't double-quote "Login" when "login prompt" is perfectly
good English.