Nicolas Souchu
04f89a63cb
iicbb is generic support for I2C bit-banging.
...
Other files: timeout management added to the I2C framework.
1998-10-31 11:31:07 +00:00
Nicolas Souchu
fbd78b40dd
Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.
1998-10-31 11:26:38 +00:00
Nicolas Souchu
206b85750f
Extensions to iicbus(4) added + brooktree848 driver ported to new I2C
...
framework.
1998-10-31 11:24:20 +00:00
Doug Rabson
171f44d78b
* Use explicitly sized types for grovelling around inside packets.
...
* On the alpha, make sure memory accesses are only made to aligned boundaries.
Submitted by: Alex Nash <nash@mcs.net>
1998-10-31 10:45:03 +00:00
Doug Rabson
57250ffb42
* Fix vga_probe() so that it doesn't report a non-vga display adapter as
...
a vga.
* Fix broken logic in syscons for a failed probe.
* Fix AlphaStation 500/600 so that non-serial consoles are supported.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu> (vga bits),
Andrew Gallatin <gallatin@cs.duke.edu> (AS500/AS600)
1998-10-31 10:35:24 +00:00
Peter Wemm
b421db370b
The last argument to vm_object_page_clean() are now bit flags, rather than
...
the old true/false.
While here, have vfs_msync() only call vm_object_page_clean() with
OBJPC_SYNC if called with MNT_WAIT flags. vfs_msync() is called at unmount
time (with MNT_WAIT) and from the syncer process (formerly update).
This should make dirty mmap writebacks a little less nasty.
I have tested this a little with SOFTUPDATES enabled, but I don't normally
use it since I've been badly burned too many times.
1998-10-31 07:42:04 +00:00
Mike Smith
dc8be6a8f5
- Add a new command 'lsdev' to list devices which might be likely to host
...
filesystems.
- New 'help' command and data in the help.* files (not yet installed),
provides topic and subtopic help, indexes, etc.
- Don't crash if the user tries to set an invalid console. Be helpful
instead.
- Expand tabs (badly) on the i386 video console.
- Some minor cosmetic changes.
1998-10-31 02:53:12 +00:00
Dag-Erling Smørgrav
903a1a16df
Document that we support i82595-based Ethernet adapters (Intel EtherExpress
...
Pro/10 and Pro/10+).
1998-10-30 20:49:14 +00:00
David Greenman
2a78b8d1f8
Unwire everything to the inactive queue in order to preserve LRU ordering.
1998-10-30 14:53:54 +00:00
Luigi Rizzo
2a62931083
Fix a typo, and remove verbose error reporting when in
...
promisc mode (they are annoying in normal mode
as well so i am really tempted to remove them unconditionally...)
1998-10-30 11:53:58 +00:00
Luigi Rizzo
9525e8f53c
Use "KB" instead of "Kb" for KiloBytes, consistently with other
...
drivers and common practices.
1998-10-30 10:57:09 +00:00
Luoqi Chen
36159e3d1e
Fix an uninitialized variable in the `dangerously dedicated disk' case.
1998-10-30 07:15:52 +00:00
Mike Smith
35d27a0f39
Add the ability to specify where on the at_shutdown queue a handler is
...
installed.
Remove cpu_power_down, and replace it with an entry at the end of the
SHUTDOWN_FINAL queue in the only place it's used (APM).
Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
1998-10-30 05:41:15 +00:00
Justin T. Gibbs
400ea5dc6a
Do not disable the ISA compatibility window if it is the same value as
...
that set for our PCI IO address space. This can happen on the BT-946.
1998-10-30 02:06:44 +00:00
Jordan K. Hubbard
4b3c37b2a8
Put back MFS_ROOT now that it's been fixed correctly.
1998-10-30 01:37:33 +00:00
Jordan K. Hubbard
522bda27ae
Fix this correctly - check if mfs_getimage() succeeds before settings
...
the MFS root unconditionally, just as on the x86.
Prompted by: msmith
1998-10-30 01:36:40 +00:00
Jordan K. Hubbard
4df550a942
Take MFS_ROOT out for now; for some reason, the alpha GENERIC chokes
...
and dies if it can't find the MFS root whereas the x86 one seems to sail
past. Looking at the code, I can't see how either one works, so I'm
confused. :)
1998-10-30 01:17:42 +00:00
Mike Smith
4c1a7a5a8f
Make the BTX loader much more quiet about what it's doing. This removes
...
most of the "what the (*^&%(*^ was that?" stuff that normally flies by.
1998-10-30 00:11:35 +00:00
John Polstra
34ff484bfc
Per request from ache, change the numbering scheme of __FreeBSD_cc_version.
...
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.
1998-10-29 22:11:08 +00:00
Justin T. Gibbs
b4be89561b
Correct the reporting of the queue full condition so that the XPT layer
...
can properly throttle tags.
Add diagnostic printfs for firmware result codes that we encounter but
don't know anything about.
1998-10-29 17:41:34 +00:00
Dima Ruban
a8bdc29849
Bump VERSREQ to make ``config'' happy.
...
Obtained from: Makefile.i386
1998-10-29 17:09:36 +00:00
Bruce Evans
cbbbd4c330
Oops, rev.1.167 made the device number checking in bdevvp() too strict
...
for mfs root mounts. Don't require major 255 to be in bdevsw[].
1998-10-29 11:50:32 +00:00
David Greenman
0d5a725446
Fixed editing error. Pointed out by bde.
1998-10-29 11:04:22 +00:00
Peter Wemm
20f02ef5e9
Remove the V_SAVEMETA flag, nothing uses it any more now that msdosfs and
...
ext2fs call vtruncbuf() directly. This simplifies and cleans up
vinvalbuf() a little.
1998-10-29 09:51:28 +00:00
Peter Wemm
91ecc00e71
error return assignment was less than ideal. Fix the part that caused
...
warnings to be the same as the ffs code. Previously, any error from
the UFS_UPDATE() call was lost (I think).
1998-10-29 09:44:12 +00:00
Peter Wemm
f6020599aa
Use vtruncbuf() to clean out cached blocks on a file shorten rather than
...
the more expensive vinvalbuf(), based on the FFS version of the same
routine. I don't have any ext2fs filesystems to test this on.
1998-10-29 09:30:52 +00:00
Peter Wemm
44fdad9976
Use vtruncbuf() rather than vinvalbuf() when shortening files.
1998-10-29 09:29:17 +00:00
John Polstra
d0a7acafba
Make the definition of __printf0like() vary according to the value
...
of __FreeBSD_cc_version, so that its use is safe with older compilers
and with non-FreeBSD compilers.
1998-10-29 04:41:24 +00:00
Garrett Wollman
46365a874a
A small fragment of new ISA framework: manifest constants for the resources
...
implemented by the i386 root nexus.
1998-10-29 01:56:23 +00:00
Garrett Wollman
a64d49d14f
A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk version
...
which really annoyed me at the time but I don't think bites me any
more.
1998-10-29 01:52:59 +00:00
Garrett Wollman
af2a5c769a
The new resource manager, hopefully in a reasonably stable form.
1998-10-29 01:48:36 +00:00
Robert V. Baron
6f72efa21b
Change the way unmounting happens to guarantee that the
...
client programs are allowed to finish up (coda_call is
forced to complete) and release their locks. Thus there
is a reasonable chance that the vflush implicit in the
unmount will not get hung on held locks.
1998-10-28 20:31:13 +00:00
Robert V. Baron
d2a0549842
Update
1998-10-28 19:39:12 +00:00
Robert V. Baron
e8e04c2b37
Venus must be passed O_CREAT flag on VOP_OPEN iff this is
...
a creat so that we can will allow a mode 444 file to be
written into. Sync with the latest coda.h and deal with
collateral damage.
1998-10-28 19:33:50 +00:00
Mike Smith
8879e57b3e
Simplify the "is a character ready" test, so that we don't return a false
...
negative for keypresses with zero ascii values. This is in line with the
comconsole test, rather than being more ambitious.
Submitted by: rnordier
1998-10-28 19:24:15 +00:00
David Greenman
c8d14c765f
Fixed wrong comments in and about vm_page_deactivate().
1998-10-28 13:41:43 +00:00
David Greenman
730075613a
Added a second argument, "activate" to the vm_page_unwire() call so that
...
the caller can select either inactive or active queue to put the page on.
1998-10-28 13:37:02 +00:00
KATO Takenori
5ff07d2ee7
Sync with sys/i386/conf/Makefile.i386 revision 1.127.
1998-10-28 10:48:37 +00:00
Jordan K. Hubbard
2dcc2f0693
Clarify a rather ambiguous debugging message.
1998-10-28 10:37:54 +00:00
Doug Rabson
709f2df6c3
Add BUS_DEBUG option in opt_bus.h
1998-10-28 08:37:10 +00:00
Robert Nordier
9244e1a412
Avoid interruptions while talking to keyboard controller.
1998-10-27 20:19:24 +00:00
Robert Nordier
c589107988
biosboot compatibility fix: change behavior of backspace in getstr().
...
Noticed by: abial
Optimize away a few bytes to make space for the above.
1998-10-27 20:16:36 +00:00
David Greenman
e4b7635de2
Added needed splvm() protection around object page traversal in
...
vm_object_terminate().
1998-10-27 13:22:51 +00:00
Bruce Evans
b5ee16407f
Oops, the redundant tests for major numbers weren't redundant here.
...
They checked for the magic major number for the "device" behind mfs
mount points. Use a more obvious check for this device.
Debugged by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-10-27 11:47:08 +00:00
Doug Rabson
45a576b57a
Lots of debugging code and some bugfixes.
...
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-10-27 09:21:43 +00:00
Doug Rabson
e3f0338ead
Some optimisations to the fragment reassembly code.
...
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:19:03 +00:00
Doug Rabson
afb3fdba7c
Fix a bug in the new fragment reassembly code which was tickled by recieving
...
a fragment which wholly overlapped one or more existing fragments.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-10-27 09:11:41 +00:00
Bruce Evans
569555b969
Removed redundant bitrotted checks for major numbers instead of updating
...
them.
1998-10-26 08:53:13 +00:00
Bruce Evans
885bf0b57a
Updated the major number check in vfs_object_create(). It's not
...
clear if the check is necessary, but vfs_object_create() is called
for all vnodes and it was silly to create objects for VBLK vnodes
that don't even have a driver.
1998-10-26 08:07:00 +00:00
Bruce Evans
83d5d944d0
Check the major number of the boot device more carefully. There was only
...
a problem if the boot blocks passed bad data.
Check the major number of the dump device consistently.
1998-10-26 07:05:34 +00:00