Andrey A. Chernov
c74995075b
Move INSTALL?=install line duplicated into each .mk to sys.mk
...
instead
1994-12-28 03:51:03 +00:00
Bruce Evans
59f08b8ba7
Use the same current time throughout ffs_update().
...
Update some macro names in comments.
Don't use MNT_WAIT for something not related to mounting.
1994-12-27 14:44:42 +00:00
Bruce Evans
e4bebee03e
Use the same current time throughout ITIMES(). I want all current
...
timestamps for an atomic operation such as rename() on a local file
system to be identical.
Uniformize yet another idempotency ifdef. The comment nesting was
bogus.
1994-12-27 13:59:14 +00:00
Bruce Evans
0c4fe20e8a
Keep track of the devconf state.
1994-12-27 13:07:07 +00:00
Bruce Evans
a176f73d19
Fix panic for `cp -p' by root to an msdos file system. Improve handling
...
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).
msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.
denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).
denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro. It was only used once, and the corresponding
macro in ufs has already been removed.
denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).
msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
David Greenman
2048dd682c
Fixed two security holes in the pcmmap() function.
...
Submitted by: Bruce Evans
1994-12-27 08:43:06 +00:00
Andreas Schulz
3c8f8257cd
Add a patch that someone on the net has used to run on his IBM Thinkpad.
...
Sorry, lost the name and mail of the original author. The whole patch
is ifdefed, so it should not disturb someone else in the moment.
1994-12-26 17:50:18 +00:00
Andreas Schulz
2d85986466
Add examples for the sony and the panasonic drivers.
1994-12-26 17:33:52 +00:00
Andreas Schulz
8c2f8d0653
Correct the devices.i386 for the major numbers. 8 was already used now
...
by the lkm driver, so put scd and pcd to the numbers they have now
in i386/conf.c.
Add the pcd.c file for the panasonic driver in files.i386.
1994-12-26 01:06:41 +00:00
Andreas Schulz
60ecea7924
Add entries for the sony and panasonic drives and drivers.
1994-12-25 23:25:54 +00:00
Andrey A. Chernov
beae072bc9
Merge several probe diagnostics into one.
...
Adjust for newer model for all non-LUxxx too.
FLAGS status register names cleanup
1994-12-24 13:24:02 +00:00
Bruce Evans
82189b149e
Fix comments on dk_wds and dk_wpms to match code. Improve comment on
...
dk_time.
1994-12-24 10:11:18 +00:00
Bruce Evans
9834a1b204
Fix the "wds" count stat.
1994-12-24 09:48:32 +00:00
Bruce Evans
11fa0751bc
Fix the "wd" count stat. The seek and xfer stats are still very bogus
...
for wd (they both count the number of sectors). The wpms stat is still
moderately bogus for all drivers. Even the count stat could be handled
better (partial blocks should be counted as full blocks; should errors
and retries be counted?).
1994-12-24 09:43:12 +00:00
Bruce Evans
026c9b2ce6
Really fix the "byte" count stat. `wd's are actually blocks of 32 16-bit
...
words in dkstat-speak. `ms's are seconds in dkstat-speak...
1994-12-24 09:19:00 +00:00
Bruce Evans
13d7c724ca
Obtained from: 1.1.5
...
Fix single-stepping of emulated FPU instructions.
Don't panic if an FPU instruction is attempted but there is no FPU
and no FPU emulator is configured.
1994-12-24 07:22:58 +00:00
David Greenman
55c4727190
Revert last patch - it's wrong.
1994-12-23 23:03:32 +00:00
David Greenman
be7b04cd7e
Fixed byte count stat.
...
Submitted by: John Dyson
1994-12-23 22:44:55 +00:00
Nate Williams
1603af0d3b
Warning and weak reference macros which are used to generate link-time
...
messages.
Obtained from: NetBSD
1994-12-23 22:38:54 +00:00
Nate Williams
d27e9722db
Document some of the fields used by the new shlib code.
...
Obtained from: NetBSD
1994-12-23 22:32:48 +00:00
David Greenman
45cbbb298d
Do vm_page_rename more conservatively in rcollapse and qcollapse, and
...
change list walk so that it doesn't get stuck in an infinite loop.
Submitted by: John Dyson
1994-12-23 05:00:19 +00:00
David Greenman
7609ab12e4
Initialize b_vnbuf.le_next before returning a new buffer in getpbuf and
...
trypbuf. Move a couple of splbio's to be slightly less conservative.
1994-12-23 04:56:51 +00:00
David Greenman
602d2b481a
Protect vnode buffer chain manipulation with splbio to prevent list
...
corruption..
1994-12-23 04:52:55 +00:00
David Greenman
edd5a4af47
Restore my changes in rev 1.11 that Garrett killed in his commit.
1994-12-22 23:42:25 +00:00
Garrett Wollman
b2774d00ad
Make arp_rtrequest() static since nobody needs to referene it any more.
1994-12-22 22:00:30 +00:00
Garrett Wollman
dd2e410221
Move ARP interface initialization into if_ether.c:arp_ifinit().
1994-12-22 21:56:22 +00:00
Stefan Eßer
9a3c07de07
Add support for -v option passed to boot loader (bootverbose).
...
Reviewed by:
Submitted by:
Obtained from:
1994-12-22 21:20:39 +00:00
Stefan Eßer
68d2fa1f21
Added SCSI_DATA_OUT to flags passed to the device driver in sd_dump()
...
since device drivers may decide not to accept a data out phase without
this flag present.
Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
1994-12-22 21:18:48 +00:00
Garrett Wollman
59d8d13f60
Added `ds', a black-hole network interface.
1994-12-22 21:00:05 +00:00
David Greenman
511cdd1649
Removed bogus semicolon at end of a #define line.
1994-12-22 07:20:03 +00:00
David Greenman
6f7bc393bb
Fixed a benign off by one error.
1994-12-22 05:18:12 +00:00
Bruce Evans
222d875bec
Print `slicename' and not a bogus pointer in diskerr()
1994-12-22 04:42:31 +00:00
Garrett Wollman
074c4a4e2e
Add generic part of generic multiple-physical-interface support (the
...
successor of IFF_ALTPHYS).
1994-12-21 22:57:05 +00:00
Garrett Wollman
b30cbe4a6b
Add a #define for if_rawoutput(), which isn't used now, but eventually will
...
be.
1994-12-21 18:03:41 +00:00
Garrett Wollman
f811ab0233
Avoid a serious race by blocking netisrs while walking the route tree.
...
(IWBRNI we could just block IP netisrs...)
1994-12-21 17:25:52 +00:00
Garrett Wollman
3c896bda76
Correct sysctl info so that net.inet.ip.rtexpire is actually accessible.
1994-12-21 17:23:59 +00:00
Andrey A. Chernov
f8c32a9711
Remove get status from probe, confuse LU002
...
Add check stbytes[1] != stbytes[2] for presence real Mitsumi
controller
1994-12-21 15:17:59 +00:00
Andrey A. Chernov
0bda4f122a
stbytes miss by one for new model
1994-12-21 15:12:41 +00:00
David Greenman
6185408336
Don't ever clear B_BUSY on a pbuf (or any other flag for that matter).
...
This appears to be the cause of some buffer confusion that leads to
a panic during heavy paging.
Submitted by: John Dyson
1994-12-19 00:02:56 +00:00
Joerg Wunsch
e72e8750d3
Insert a hook to initialize the serial port at the beginning of
...
boot(). This is needed so the "serialboot" stuff can share this file,
too.
Everything is #ifdef'ed so it evaluates to nothing when actually been
built in the "biosboot" directory.
1994-12-18 20:30:10 +00:00
Joerg Wunsch
2c681fc102
This became a frequently requested item now.
...
The files in this directory are modified version of "biosboot". The
only difference is in that they perform their I/O via a serial port,
so their preferrable usage is to form bootblocks for systems where the
kernel happens to have an "options COMCONSOLE". Most of the code is
actually shared with "biosboot", and make will not (and should not)
descend into this directory by default. It is in the responsibility
of the user to build these bootblocks instead of the original ones.
1994-12-18 20:12:10 +00:00
Joerg Wunsch
0246a9d813
Initialize syscons also in cases where it ain't the system's console
...
(i.e., there's a comconsole).
1994-12-18 19:45:53 +00:00
Joerg Wunsch
91c38cb885
Ooops, i forgot one NVT > 0 in a previous commit. Now pcvt will also
...
work as the system's console.
1994-12-18 19:42:41 +00:00
Joerg Wunsch
00e82d39d7
Move the code providing the equivalent of ICRNL for console input from
...
the device driver(s) to cons.c.
1994-12-18 19:35:59 +00:00
Bruce Evans
bf67b544a2
Pass the slice number of the boot device to the kernel in the previously
...
unused bitfields for the adaptor and the controller. It should go in
the bitfield for the partition but that would not be backwards compatible.
1994-12-18 19:14:19 +00:00
Poul-Henning Kamp
d9a2713bb5
Make sure we allocate at least 8 scbus if we allocate any at all.
1994-12-18 18:48:39 +00:00
Poul-Henning Kamp
40a97f50d4
> ../../i386/isa/if_le.c still has a mountain of warnings.. Anyone keen
...
> to fix?
Sure. How's this? -
Reviewed by: phk
Submitted by: Mark Murray <mark@grondar.za>
1994-12-18 18:42:03 +00:00
David Greenman
2b4e0927f6
Unbogify the size being passed to bzero when clearing struct softc.
1994-12-18 14:40:26 +00:00
David Greenman
94101b5208
Move page_unhold's in pmap_object_init_pt down one line to gard against
...
a potential race condition.
1994-12-18 14:16:22 +00:00
David Greenman
66ecebed58
Fixed multiple bogons with the map entry handling.
1994-12-18 13:58:41 +00:00