Søren Schmidt
e855c8bedc
Oops, only apply the CHS size from lbasize thing when disk reports
...
"too big for CHS" ie 16383 cyls..
1998-05-11 15:30:43 +00:00
John Dyson
fcf1880fa0
Change some tests from CPU_CLASS686 to CPU_686 as appropriate, and
...
also correct a serious ommision that would cause process faulures
due to forgetting an invltlb type operatino. This was just a
transcription problem.
1998-05-11 08:11:57 +00:00
John Dyson
5498a452bc
Support better performance with P6 architectures and in SMP
...
mode. Unnecessary TLB flushes removed. More efficient
page zeroing on P6 (modify page only if non-zero.)
1998-05-11 02:13:47 +00:00
John Dyson
f0175db1ee
Attempt to set write combining mode for graphics devices.
1998-05-11 01:06:08 +00:00
Steve Price
a396970306
Add support for the Yamaha YMF-719.
...
PR: 6348
Submitted by: Yoshiak Uchikawa <yoshiaki@kt.rim.or.jp>
1998-05-10 23:53:27 +00:00
Mike Smith
795d035511
Add character major for 'loe' loopback pseudo-ethernet device.
...
Requested by: sbabkin@dcn.att.com
1998-05-09 17:52:26 +00:00
Julian Elischer
d210b3552c
cleanup:
...
take out duplicated dump code
1998-05-07 01:15:23 +00:00
Eivind Eklund
d563a53a79
Unbotch whitespace and change switch with two cases to if.
...
Noticed by: bde
1998-05-07 00:42:25 +00:00
Julian Elischer
9b7408fe46
There is no dump routine for fd so give it an explicit NULL entry
...
in the SLICE table.
1998-05-06 23:35:36 +00:00
Julian Elischer
7f2f1b784e
Add dump support to the DEVFS/slice code.
...
now we can actually catch our crashes :-)
Submitted by: Luoqi Chen <luoqi@chen.ml.org> (the man who's everywhere)
1998-05-06 22:14:48 +00:00
Justin T. Gibbs
8fddb21ee2
Implement bus_dmamem_* functions and correct a few nits reported by Peter Wemm.
1998-05-06 01:45:55 +00:00
Søren Schmidt
eb011aea8d
Fix the 4-8G LBA geometry it was wrong.
...
Support >8G drives in CHS mode. This is done by guesstimating the
cylinder count from the LBA size reported. It works on my shiny
new Maxtor 11.5G drive, YMMV.
Reports from users of other big drives (read Quantum bigfoot's)
are welcome...
1998-05-05 14:27:26 +00:00
Poul-Henning Kamp
b4362367e0
Detect USR PnP x2 modem.
...
PR: 6496
Reviewed by: phk
Submitted by: Kurt D. Zeilenga <Kurt@Boolean.NET>
1998-05-04 10:35:13 +00:00
Bruce Evans
d86cac8647
Don't depend on "implicit int".
1998-05-01 18:30:02 +00:00
Bruce Evans
77849078bf
Oops, the previous commit should have changed i386' to
__i386__',
...
not `__i386'.
1998-05-01 16:40:21 +00:00
Warner Losh
3f6c4fc33b
Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
...
on my box doesn't grok machine type pc98.
PR: 3272
Submitted by: jhs
1998-04-29 18:21:35 +00:00
Andreas Klemm
a2ba45e521
Fixes incorrect company and product names in uha(4) manpage and
...
LINT config file. Should be merged to -STABLE as well.
PR: closes 6447
Submitted by: Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
Masafumi Max NAKANE
666cf86d3f
Add "flags 0x10" to the sio0 entry so that SMP-GENERIC acts in thesame
...
manner as the GENERIC kernel to the -h option.
1998-04-29 06:58:43 +00:00
Eivind Eklund
288078be0f
Translate T_PROTFLT to SIGSEGV instead of SIGBUS when running under
...
Linux emulation. This make Allegro Common Lisp 4.3 work under
FreeBSD!
Submitted by: Fred Gilham <gilham@csl.sri.com>
Commented on by: bde, dg, msmith, tg
Hoping he got everything right: eivind
1998-04-28 18:15:08 +00:00
Julian Elischer
21a56c939e
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
...
make standard links for the first detected sound card.
1998-04-28 00:10:53 +00:00
Dag-Erling Smørgrav
bf69d84c0a
Cast return values to the appropriate fp_*_t. Note that the man page
...
incorrectly refers to them as e.g. fp_except rather than fp_except_t.
PR: misc/6310
Submitted by: Niall Smart
1998-04-27 14:17:30 +00:00
John Dyson
e8f1b8b02a
Add the PAT cpuid feature.
1998-04-26 03:18:38 +00:00
Julian Elischer
1667f2b3e5
slice_device.c: permissions changes for SLICE devices
...
vn.c: change time of SYSINIT scheduling.
wd.c don't revert to fully closed state. ( may require more)
all in SLICE mode only.
1998-04-24 07:54:00 +00:00
Julian Elischer
1077fa97b3
When calling the open function, specify either FREAD and/or FWRITE
...
as leaving them both 0 has the same effect as not openning the device at all.
1998-04-23 22:09:55 +00:00
Julian Elischer
bdeec4c20b
Oops forgot to include opt_bootp.h
...
Bootp works a lot better with devfs if this is present.
1998-04-23 20:59:42 +00:00
Eivind Eklund
57402d4df8
Add devfs support.
...
Submitted by: somebody whose name escapes me :-(
1998-04-23 00:06:43 +00:00
Tor Egge
beede91e58
Mask the interrupt before setting the corresponding bit in ipending if
...
the interrupt is already active.
Don't use lock prefix for operations on ipending.
Always use lock prefix for operations on iactive.
1998-04-22 22:49:29 +00:00
Julian Elischer
afcdc872dc
Bad144 support for the slice system (!)
...
Submitted by: luoqi@watermarkgroup.com (Luoqi Chen)
I'm amazed by this. Slice has only been checked in for 2 days..
1998-04-22 19:27:54 +00:00
Matt Jacob
8bafc2452a
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:18:16 +00:00
Julian Elischer
26d3bf5f1b
close() is no longer a SLICE method.
...
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)
1998-04-22 10:25:27 +00:00
Peter Wemm
4bc57bd94f
Add a couple of missing symbols referred to in asm code.
1998-04-22 09:46:16 +00:00
Mike Smith
38f86230bd
Add a block device entry for the 'myx' driver too.
1998-04-22 05:10:51 +00:00
Mike Smith
9c25a0b542
Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net>
1998-04-22 03:57:07 +00:00
KATO Takenori
5e4832f65d
PC-98 does not supports DMA automode lager than 65535 bytes.
1998-04-21 09:48:45 +00:00
KATO Takenori
bb9b85aaeb
Supports PC-98 again.
1998-04-21 09:46:14 +00:00
Julian Elischer
2af4594564
Remove more LFS left-overs
1998-04-20 21:54:19 +00:00
Julian Elischer
751e9ca706
Remove an LFS clause, now that it is in the history,
...
anyone who wants to see what was needed cto revive LFS can see it.
1998-04-20 21:53:07 +00:00
Søren Schmidt
d264ed7a01
Enable DEVFS usage of the device (include opt_devfs.h>
1998-04-20 18:51:33 +00:00
Julian Elischer
992109b58e
Get rid of DEVFS_ROOT
...
it no longer has any effect.
SLICE is in some ways a replacement but is destined to also go away.
1998-04-20 04:30:47 +00:00
Julian Elischer
c0bab11dfe
Make the devfs SLICE option a standard type option.
...
(hopefully it will go away eventually anyhow)
1998-04-20 03:57:41 +00:00
Julian Elischer
3e425b968d
Add changes and code to implement a functional DEVFS.
...
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.
/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.
Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others
This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.
When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
1998-04-19 23:32:49 +00:00
Tor Egge
9d66d1d696
Disregard the values for polarity and trigger mode in the MP config table
...
for ISA interrupts where the IOAPIC interrupt pin number is the same as
the ISA interrupt number (i.e. partial backout of previous commit)
1998-04-19 23:19:20 +00:00
Bruce Evans
212b37ff18
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants).
1998-04-19 15:41:06 +00:00
Bruce Evans
1696756396
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants or hard long long constants).
1998-04-19 15:39:26 +00:00
Bruce Evans
721f74b7d3
Support compiling with `gcc-pedantic' (don't declare static arrays
...
with no size).
1998-04-19 15:36:12 +00:00
Bruce Evans
8c4a6d7452
Support compiling with `gcc-pedantic' (don't use hard newlines in
...
(asm) string constants or trailing commas in enum declarations).
1998-04-19 15:28:30 +00:00
Bruce Evans
78a8182665
Support compiling with gcc -pedantic (don't use a bogus, null cast).
1998-04-19 15:22:48 +00:00
Peter Wemm
823833f19d
Back out previous commit, obrien doesn't seem to be watching. The problem
...
is that the previous commit spammed a hacked 2.2-stable onto -current,
deleting the DMA support etc. (I guess that's one way of minimizing diffs
between -current and -stable.. :-] )
1998-04-19 03:26:05 +00:00
David E. O'Brien
cab9e31601
MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
...
1.128 (FUNCTIONAL: better sleep handling)
1.131 (STYLE: labels w/o stmt)
1.132 (STYLE: remove unused #includes)
1.141 (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144 (STYLE: dont shadow other vars)
1.150 (FUNCTIONAL: fix search bug)
1998-04-18 13:25:49 +00:00
KATO Takenori
c243867df2
Support compiling with `gcc -ansi'.
1998-04-18 05:01:24 +00:00