KATO Takenori
e86160672a
Sync with sys/i386/isa/syscons.c revision 1.259.
1998-04-16 16:35:23 +00:00
KATO Takenori
e6fb658c24
Sync with sys/i386/isa/npx.c revision 1.59.
1998-04-16 16:34:46 +00:00
KATO Takenori
3755fd6d2d
Sync with sys/i386/conf/Makefile.i386 revision 1.108.
1998-04-16 16:34:09 +00:00
KATO Takenori
5b24b4a0a4
Sync with sys/i386/isa/pcaudio.c revision 1.40.
1998-04-16 16:33:21 +00:00
KATO Takenori
0739f338b1
Sync with sys/i386/isa/lpt.c revision 1.68.
1998-04-16 16:32:49 +00:00
KATO Takenori
aff756e77f
Sync with sys/i386/isa/if_ed.c revision 1.139.
1998-04-16 16:32:15 +00:00
KATO Takenori
adf97e2edc
Sync with sys/i386/i386/trap.c revision 1.126.
1998-04-16 16:31:36 +00:00
Peter Wemm
0c78c3b02a
Attempt to fix BOUNCE_BUFFERS. I cannot test these drivers, but they
...
seem to compile OK with the bounce buffer mods. I have only visually
checked for missing bounce buffer support, I could have missed some.
1998-04-16 12:28:31 +00:00
Peter Wemm
692fa3916a
Attempt to get bounce_buffers working again for per-process kernel stack
...
data targets. At least st0 works for me again....
Also, scsi_scsi_cmd() looks like it's been exiting without a biodone() on
an attached buffer in a number of error cases, leading to locked buffers.
1998-04-16 11:15:23 +00:00
Peter Wemm
2e347f41f6
fix an obvious broken BOUNCE_BUFFER case.
1998-04-16 10:35:50 +00:00
Dag-Erling Smørgrav
604d46b6e5
Swapped "should we just return" and "should we stop the screensaver"
...
in scrn_timer() to avoid deadlock with graphical screensavers.
1998-04-16 09:41:55 +00:00
Peter Wemm
efdc5523c0
When the softdep conversion took place, the periodic vfs_msync() from
...
update got lost. This is responsible for ensuring that dirty mmap() pages
get periodically written to disk. Without it, long time mmap's might not
have their dirty pages written out at all of the system crashes or isn't
cleanly shut down. This could be nasty if you've got a long-running
writing via mmap(), dirty pages used to get written to disk within 30
seconds or so.
1998-04-16 03:31:26 +00:00
Bruce Evans
1d37f051c1
Finish supporting compiling with gcc -ansi'. Fix missing
volatile's
...
in __asm() statements while I'm here.
1998-04-15 18:58:09 +00:00
Tor Egge
71033a8c50
Unlock mountlist_slock if the mount point was busy (unmount in progress)
...
during the attempt at lazy fsync.
1998-04-15 18:37:49 +00:00
Dima Ruban
d3b8e3673e
Use 0440 root.kmem kermissions on kernel instead of
...
0555 root.wheel.
Reviewed by: freebsd-security
1998-04-15 17:53:32 +00:00
Bruce Evans
c1087c1324
Support compiling with `gcc -ansi'.
1998-04-15 17:47:40 +00:00
Bruce Evans
7e07ce2225
Support compiling with gcc -ansi'. Fix missing
volatile's in __asm()
...
statements while I'm here.
1998-04-15 17:26:17 +00:00
Poul-Henning Kamp
9c2fa4dbce
In pre-devfs days, /dev/psm0 had always been a non-blocking
...
device. But with devfs, currently, /dev/psm0 is the blocking device
and /dev/npsm0 is the non-blocking one.
DEVFS must stay consistent with the older behaviour.
PR: 6260
Reviewed by: phk
Submitted by: Kapil Chowksey <kchowksey@hss.hns.com>
1998-04-15 17:06:52 +00:00
Bruce Evans
37223939f0
Fixed bitrot in the non-softdep case of ufs_dirremove():
...
- restored async mount support. The first entry in a block is still
always written synchronously, although it probably shouldn't be in
the async case.
- restored use of BWRITE() instead of bowrite() for the DOWHITEOUT
case, although bowrite() is probably better.
Broken by: merge of softdep changes (rev.1.22).
Found by: lmbench2 delete-file benchmarks.
1998-04-15 12:27:31 +00:00
Bruce Evans
dcfe005838
Fixed breakage of fork accounting in previous commit. A fork benchmark
...
reported about 15 times as much sys time as real time. getmicroruntime()
is confusing name.
1998-04-15 11:10:28 +00:00
Dmitrij Tejblum
206faeeef7
Add a missing LK_RETRY.
...
Noticed by: Bruce (almost 2 monts ago)
Remove a debugging printf.
1998-04-15 11:04:53 +00:00
KATO Takenori
ecbb31cda2
Fix page fault panic by probing NE200 compatible PCI card.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1998-04-14 13:51:19 +00:00
Poul-Henning Kamp
115facb29d
Fix a minor mbuf leak created by the previous change.
...
Reviewed by: phk
Submitted by: pb@fasterix.freenix.org (Pierre Beyssac)
1998-04-14 06:24:43 +00:00
Søren Schmidt
0c7843d922
Added EIDRM & ENOMSG errno in translation table.
1998-04-13 17:52:41 +00:00
Søren Schmidt
958a082931
Added EIDRM & ENOMSG to errno translation table.
1998-04-13 17:49:51 +00:00
Mike Smith
a470e6686d
Don't use INTR when only one device supports it.
...
Submitted by: Satoh Junichi <junichi@astec.co.jp>
1998-04-13 17:45:56 +00:00
Søren Schmidt
add212bf7e
Add EIDRM errno (PR 176), ENOMSG errno (myself) for prober sysv_ipc.
1998-04-13 17:45:00 +00:00
Poul-Henning Kamp
81aee63d19
Wrong header length used for certain reassembled IP packets.
...
PR: 6177
Reviewed by: phk, wollman
Submitted by: Eric Sprinkle <eric@ennovatenetworks.com>
1998-04-13 17:27:08 +00:00
Semen Ustimenko
72a43c1b0a
Fixed autonegotiation. Card registers are now accessed via memory
...
not i/o space.
1998-04-13 14:15:40 +00:00
KATO Takenori
625c217460
Sync with sys/i386/isa/wd.c revision 1.156.
1998-04-13 08:35:37 +00:00
Poul-Henning Kamp
81aba7a19d
Aic APM driver support for e.g. Toshiba T2400 notebook with internal
...
Adaptec SCSI (aic6360/aha152x) controller.
PR: 5382
Reviewed by: phk
Submitted by: Oliver Breuninger <ob@seicom.NET>
1998-04-12 12:11:31 +00:00
KATO Takenori
44ed0f3748
Sync with sys/i386/isa/wd.c revision 1.155.
1998-04-12 05:05:19 +00:00
KATO Takenori
66cc72d13d
Fix the problem when SCSI ID is not contiguous.
...
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1998-04-12 04:48:11 +00:00
John Dyson
71af8fba17
Add aio_error decl.
1998-04-12 03:09:43 +00:00
Poul-Henning Kamp
aba558930b
setsockopt() transports user option data in an mbuf. if the user
...
data is greater than MLEN, setsockopt is unable to pass it onto
the protocol handler. Allocate a cluster in such case.
PR: 2575
Reviewed by: phk
Submitted by: Julian Assange proff@iq.org
1998-04-11 20:31:46 +00:00
John Dyson
17d925335f
Minor typo in the wd driver. The manifestation of this bug
...
is a tremendous perf decrease due to the disabling of advanced
features such as DMA, Ultra DMA, and 32bit mode. This patch
might have been reported by someone else (I seem to remember
it.)
1998-04-11 20:09:39 +00:00
Poul-Henning Kamp
a2481bbe8e
When pmap_pinit0() allocates a page for proc0's page directory,
...
kernal page table may need to be extended. But while growing the
kernel page table (pmap_growkernel()), newly allocated kernel page
table pages are entered into every process' page directory. For
proc0, the page directory is not allocated yet, and results in a
page fault. Eventually, the machine panics with "lockmgr: not
holding exclusive lock".
PR: 5458
Reviewed by: phk
Submitted by: Luoqi Chen <luoqi@luoqi.watermarkgroup.com>
1998-04-11 17:24:06 +00:00
Søren Schmidt
eea22fdf01
Do not clobber "heads" by &= in wdcommand use only &.
...
Spotted by: bde
1998-04-10 08:00:24 +00:00
Alexander Langer
7c2e3d329a
Grammar police.
1998-04-10 00:09:04 +00:00
Søren Schmidt
f559a836a2
Add the new LBA mode support in the wd? config examples.
1998-04-09 22:28:57 +00:00
Søren Schmidt
44779c5a1c
Try to use the "right" CHS translations of a LBA device.
...
Drives bigger than 8.4G is still in question until I get a drive
to test on...
1998-04-09 17:46:45 +00:00
Nate Williams
c839c3ace3
- Whoops, better have the structure created before trying to use it in
...
the patch I just submitted.
Noticed by: phk
1998-04-09 14:01:13 +00:00
Søren Schmidt
2a42fd0952
Add LBA mode support for large drives.
...
Use config flags 0x1000 to enable LBA mode. It should be enabled in
the BIOS too to avoid geometry confusion.
One catch though, I'm not sure all BIOS's uses the 64head/63secs
translation, all mine does but....
1998-04-08 20:04:39 +00:00
Søren Schmidt
40a2ce6ee5
Fix a minor bug (|| instead of |)
1998-04-08 20:00:03 +00:00
Wolfram Schneider
5ddc8ded1d
New mount option nosymfollow. If enabled, the kernel lookup()
...
function will not follow symbolic links on the mounted
file system and return EACCES (Permission denied).
1998-04-08 18:31:59 +00:00
Nate Williams
9d24fe0e45
- Fix bug I introduced a few months ago. If a driver fails the probe,
...
correctly unregister the interrupt from the system.
[ My fix is much simpler than the one provided in the PR ]
PR: 6249
1998-04-08 15:00:02 +00:00
Poul-Henning Kamp
5f88ec3625
Minor adjustments to the timecounting and proc0.
...
Mostly Submitted by: bde
1998-04-08 09:01:53 +00:00
KATO Takenori
216949b446
Sync with sys/i386/boot/biosboot/README.serial revision 1.9.
1998-04-07 15:33:47 +00:00
KATO Takenori
7b0e2080ab
Sync with sys/i386/isa/npx.c revision 1.58.
1998-04-07 09:09:41 +00:00
KATO Takenori
74a64e52c9
Sync with sys/i386/conf/files.i386 revision 1.196.
1998-04-07 09:08:27 +00:00