David Greenman
baddaf9480
Switch 586/686 back to generic_bzero and #if 0'd the "optimized" code. It
...
turns out that it actually reduces performance in real-world cases.
Noticed by: bde
1996-04-06 01:06:06 +00:00
Andrey A. Chernov
2cb9219c5d
Fix adjkerntz expression priority
1996-04-05 18:56:10 +00:00
Andrey A. Chernov
fe0d5f43c5
Add wall_cmos_clock sysctl variable, needed to manage adjkerntz even for
...
UTC cmos clocks (needed for Local Timezone FSes)
1996-04-05 03:36:31 +00:00
Joerg Wunsch
c80faa792c
Work around a braindead signal handling in many newer HP printers.
...
They don't have BUSY de-asserted by the time they ACK (and thus cause
an interrupt). The workaround is to try seeing if the BUSY will be
de-asserted soon, and if not, to use an incremental backoff and
semi-polled mode instead of the fixed timeout with 1/2 s we've been
using previously (that caused the printer to run really slooow).
Printers that have been working previously should not be affected by
this.
1996-04-04 12:28:36 +00:00
Poul-Henning Kamp
506c540bbb
Improvementss to netboot
...
Initial but not yet functional PCI support.
Reviewed by: phk
Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1996-04-03 19:01:37 +00:00
John Dyson
030ad08012
Fixed a problem that the UPAGES of a process were being run down
...
in a suboptimal manner. I had also noticed some panics that appeared
to be at least superficially caused by this problem. Also, included
are some minor mods to support more general handling of page table page
faulting. More details in a future commit.
1996-04-03 05:23:44 +00:00
Gary Palmer
23d048ee3b
Add NULLFS_DIAGNOSTIC, KERNFS_DIAGNOSTIC, UMAPFS_DIAGNOSTIC, UNION_DIAGNOSTIC
...
and SAFETY. Currently all commented out until I can verify that they don't
cause LINT to fail to compile.
1996-04-03 00:28:40 +00:00
Garrett Wollman
348acd946c
Document PERFMON.
...
Delete obsolete PROBE_VERBOSE.
1996-04-02 18:13:36 +00:00
Poul-Henning Kamp
3a65e0a3de
Align help screen.
...
add gateway command.
1996-04-02 15:17:36 +00:00
Marc G. Fournier
ecd87fe6c3
changed from using dev_link() to devfs_link()
1996-04-02 04:52:03 +00:00
Marc G. Fournier
f28213ad1d
Convert from using devfs_add_devsw() to devfs_add_devswf()
...
Fixed Permissions/Ownership in DEVFS to reflect /dev
1996-04-01 21:02:14 +00:00
David Greenman
909e5e0e77
Change if/goto into a while loop.
1996-03-31 23:00:32 +00:00
Justin T. Gibbs
716a0bd94a
Convert to use stdarg in bt_cmd. Use XS_SELTIMEOUT for selection timeouts.
...
Obtained from: stdarg fixes adapted from cgd's work on the NetBSD BT driver
1996-03-31 18:19:50 +00:00
Justin T. Gibbs
a9debe9ce1
Convert to use stdarg in aha_cmd. Use XS_SELTIMEOUT for selection timeouts.
...
Obtained from: stdarg fixes adapted from cgd's work on the NetBSD BT driver
1996-03-31 18:19:38 +00:00
Joerg Wunsch
0e317d05cc
Fetch the (dummy) READY CHANGED condition interrupt stati that
...
happen after an FDC reset.
Submitted by: bde
1996-03-31 18:04:51 +00:00
Joerg Wunsch
4ddc73e65b
Fix a bogus message:
...
ed0: Invalid irq configuration (2) must be 2-5 for 3c503
^ ^
1996-03-31 15:53:19 +00:00
Bruce Evans
d72ee36f63
Removed dead option DUMMY_NOPS.
...
Restored undead option AUTO_EOI_1.
Added undocumented option PERFMON.
1996-03-31 04:18:02 +00:00
Bruce Evans
048cd610ad
Finished removing NOP macros.
1996-03-31 04:17:25 +00:00
Bruce Evans
ef9805a3c8
Moved rtcin() to clock.c.
...
Always delay using one inb(0x84) after each i/o in rtcin() - don't
do this conditional on the bogus option DUMMY_NOPS not being defined.
If you want an optionally slightly faster rtcin() again, then inline
it and use a better named option or sysctl variable. It only needs
to be fast in rtcintr().
1996-03-31 04:05:36 +00:00
Bruce Evans
5d170d7eb8
Killed religous FASTER_NOP again.
1996-03-31 03:31:29 +00:00
Justin T. Gibbs
6e9d1d8bb6
Fix support for the aic7850 by looking only at the relavent bits of the
...
QINCNT. The 7850 puts random garbage in the high bits and all my attempts
to determine the cause of this failed. This approach does seem to work
around the problem.
Go back to relying on the SCSIPERR interrupt instead of having the sequencer
interrupt at the beginning of ITloop after a parity error occured.
Determine the number of SCBs on a card automatically and base the qcntmask
on the number of SCBs.
Add entries for 11.4MHz, 8.8MHz, 8.0MHz, and 7.2MHz to ULTRA portion of
the syncrate table. They seem to work fine on the 2940UW I have here and
will allow more non-ultra devices (like my tape drive) to run sync while
the adapter is in ULTRA mode.
Return XS_SELTIMEOUT instead of XS_TIMEOUT for selection timeouts. I was
getting sick of waiting for the SCSI code to retry each non-existant unit
multiple times during boot and XS_SELTIMEOUT bypasses all retries.
Use new SLIST queue macros. This was inspired by NetBSD using TAILQs in
their SCSI drivers. For optimum cache hits, the free scb list should
be LIFO which is what the old and new code does. NetBSD implemented a
FIFO queue for some reason.
Spaces -> tabs.
1996-03-31 03:15:31 +00:00
Justin T. Gibbs
2af488412c
Override the unit number passed into us in the isa_device structure with
...
the current unit in bt_unit. We do this as a kludge to make the unit nubmer
work properly between the pci/eisa/isa bt boards that are in the system.
1996-03-31 03:06:20 +00:00
Justin T. Gibbs
b023c93005
Don't set the number of SCBs here. aic7xxx.c determines the number of
...
SCBs by walking them.
1996-03-31 03:04:38 +00:00
Peter Wemm
6386a7e079
When doing a 'make depend', dont blow away the existing .depend until
...
the generation of a new one is complete.
1996-03-30 14:57:02 +00:00
Garrett Wollman
17d2223b8c
There is no need to zero out the TSC when configuring a counter,
...
says Mike Haertel.
1996-03-29 17:48:21 +00:00
Bruce Evans
a680ab7537
Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead of
...
in the clk0 counter.
Reviewed by: s
1996-03-29 15:01:51 +00:00
Bruce Evans
78966e20d9
Parenthesized macros.
...
Fixed munged tabs.
1996-03-29 14:14:07 +00:00
Bruce Evans
1d4bbd7d60
Added necessary quotes (${CPP} might have spaces in it). Removed
...
unnecessary quotes.
1996-03-29 14:08:30 +00:00
Bruce Evans
98189b75c3
Removed references to nonexistent files.
1996-03-29 13:39:48 +00:00
Bruce Evans
a95d7065d5
Removed never-used files.
1996-03-29 13:22:04 +00:00
Bruce Evans
e57841c795
Fixed devfs group of some more disk devices.
...
Added devfs lpt control device (only the standard one, not the ones that
aren't supported by MAKEDEV).
Removed some stupid comments.
1996-03-29 11:54:56 +00:00
Bruce Evans
f85120ac5b
Fixed group of some more disk devices.
...
Fixed devfs function names.
1996-03-29 11:45:12 +00:00
Garrett Wollman
0bb8e015ec
Sync up the Pentium implementation with the documentation.
...
Previously, the sense of the E flag was reversed on
Pentiums.
1996-03-28 21:00:29 +00:00
Garrett Wollman
28dc3d2757
>Blush<. Use the correct opcode for the WRMSR instruction.
1996-03-28 20:39:45 +00:00
Garrett Wollman
8dec8ed218
Nit: according to the Harvard code, it is necessary to clear the timestamp
...
counter before loading the performance-monitor control register. I'm
not sure I believe this, but we'll follow their lead for the moment.
As a result of this commit, the performance-monitoring test program that
I wrote now works (the program will find its way to share/examples).
1996-03-28 20:39:20 +00:00
Garrett Wollman
f7ff248201
Teach the disassembler about the 0f,3x family of instructions
...
(RDMSR, RDTSC, WRMSR, and RDPMC).
1996-03-28 20:35:03 +00:00
Jordan K. Hubbard
2fa43eefcf
A bug fix and a couple of new modes for the meteor driver.
...
Submitted-By: Jim Lowe <james@miller.cs.uwm.edu>
1996-03-28 20:28:14 +00:00
Steven Wallace
2983151216
Implement ioctl's IBCS2_TCFLSH and IBCS2_TCXONC. Improve termios conversion.
...
Implement xenix_eaccess() system call.
Obtained from: NetBSD
1996-03-28 19:53:21 +00:00
Bruce Evans
cf78fc4129
Undid the last 2 commits. Rev.1.43 reversed the changes in rev.1.42 and
...
rev.1.44 was a subset of them.
1996-03-28 15:03:41 +00:00
Marc G. Fournier
734daefc97
Switched from using devfs_add_devsw() to devfs_add_devswf()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:31:42 +00:00
Marc G. Fournier
719d4dc5bd
Added DEVFS support to create ttyv* devices
...
Reviewed by: julian@freebsd.org
1996-03-28 14:30:37 +00:00
Marc G. Fournier
6e18ce4676
Switched from using devfs_add_sw() to using devfs_add_swf()
...
Reviewed by: julian@freebsd.org
1996-03-28 14:29:52 +00:00
John Dyson
4e489ec421
Remove a now unnecessary prototype from pmap.c. Also remove now
...
unnecessary vm_fault's of page table pages in trap.c.
1996-03-28 05:40:58 +00:00
John Dyson
208bfdc98b
Significant code cleanup, and some performance improvement. Also,
...
mlock will now work properly without killing the system.
1996-03-28 04:59:34 +00:00
Garrett Wollman
650e27cd25
A slightly-closer-to-working version that includes code appropriate
...
to regular Pentiums. Unfortunately, it doesn't work on mine,
but I'm not sure if this is the fault of the driver.
1996-03-27 22:02:18 +00:00
Bruce Evans
6c4591a089
Fixed ownerships of callout devices.
1996-03-27 20:03:32 +00:00
Bruce Evans
df957ee1b3
Moved the initialization of the devfs devices to after the initialization
...
of the devswitch so that it actually works.
1996-03-27 19:11:41 +00:00
Bruce Evans
2412bc33ad
Fixed name of /dev/speaker (it's not spkr).
1996-03-27 19:07:33 +00:00
Bruce Evans
3dffe3c5f6
Fixed permissions of /devfs/*random.
...
Fixed group and permissions of /devfs/perfmon.
1996-03-27 19:04:55 +00:00
Bruce Evans
1170175e62
Fixed mode of /devfs/console.
1996-03-27 18:55:19 +00:00