KATO Takenori
acd0dd6ce1
Merge from sys/i386/isa/clock.c revision 1.145.
1999-09-04 01:39:52 +00:00
KATO Takenori
4fcaaf69e7
Merge from sys/i386/conf/files.i386 revision 1.264.
1999-09-04 01:36:23 +00:00
Bill Paul
ba2cb70286
#ifdef out the definition for the small packet RX ring. I ended up only
...
using one RX ring because of the alignment issue, so we may as well save
a few K of memory by not allocating space for it.
1999-09-03 20:58:39 +00:00
Peter Wemm
9d38d41c02
Finish making LINT compile. Disable references to pnp in files that
...
don't appear to use it, and disable i4b_isic_pnp.c (with a #warning)
until it's converted.
1999-09-03 20:38:47 +00:00
Doug Rabson
4c2212401b
Remove vestiges of old pnp code.
1999-09-03 20:11:25 +00:00
Doug Rabson
1c3111dc06
Remove the last vestiges of the old pnp code in favour of the new one.
1999-09-03 20:01:08 +00:00
Mike Smith
c7ba4828b1
Slight reorganisation of the Alpha/SRM loader build:
...
- Make as much of the makefile for each of the three flavours
(disk, CDROM, net) common.
- Special-case the libalpha startup module on its use in boot1, not
the other way around.
- Build the loader out of a "loader" directory
Reviewed by: mjacob, dfr
1999-09-03 19:42:18 +00:00
Peter Wemm
68103740e6
Fix a warning for the !DEVFS case.
1999-09-03 19:21:49 +00:00
Peter Wemm
0f09dc9341
if_ed doesn't use the wrappers anymore.
1999-09-03 19:15:13 +00:00
Peter Wemm
599d7638dd
Commit a checkpoint of an updated if_ed driver. This is pretty much
...
Doug Rabson's work, with a few tweaks from Warner Losh and I. There are
still some quirks to resolve, but the old driver is presently breaking
the build.
1999-09-03 19:10:56 +00:00
Luoqi Chen
d8a31f810f
Allow getblk() to be called from an idle context (by panic() inside
...
an interrupt handler).
Reviewed by: dillon
1999-09-03 17:49:25 +00:00
Peter Wemm
16e68fc605
Cosmetic tweak. Collect the fdc methods together and apart from the fd
...
methods so it's a little easier to seperate the two when reading the code.
1999-09-03 11:32:21 +00:00
Poul-Henning Kamp
9c48bdd348
Use micro "disk" layer in ata-disk
...
Reviewed by: sos
1999-09-03 10:57:17 +00:00
Poul-Henning Kamp
a2f21fdc51
Set si_bsize_phys to 2048 for cdrom.
...
Reviewed by: sos
1999-09-03 10:56:27 +00:00
Julian Elischer
1f7e07329d
Print out the device name when there is an uninitialised IO size or IO error
...
in spec_getpages().
Submitted by: phk suggested the idea.
1999-09-03 09:14:36 +00:00
Julian Elischer
c5d6480694
Add a catchall to set default blocksize values for disk like devices.
...
Submitted by: phk@freebsd.org
1999-09-03 08:26:46 +00:00
Marcel Moolenaar
48adcae922
Install linux.sh in /usr/sbin and not in /usr/bin.
...
PR: 13545
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
1999-09-03 07:15:38 +00:00
Marcel Moolenaar
6771d80337
I missed the namechange of field desc in struct i386_ldt_args into descs while
...
reviewing luoqi's changes...
Pointed out by: luoqi
1999-09-03 06:18:39 +00:00
Julian Elischer
7012bab988
Revert a bunch of contraversial changes by PHK. After
...
a quick think and discussion among various people some form of some of
these changes will probably be recommitted.
The reversion requested was requested by dg while discussions proceed.
PHK has indicated that he can live with this, and it has been agreed
that some form of some of these changes may return shortly after further
discussion.
1999-09-03 05:16:59 +00:00
Julian Elischer
439a479b3b
remove some out-of-scope DEVFS references..
...
(don't worry greg.. cosmetic only)
1999-09-03 05:08:05 +00:00
Luoqi Chen
cb899cd41d
Handle for passthru resource release correctly.
1999-09-03 04:30:01 +00:00
Matthew N. Dodd
fdfd9f2f70
This adds support for the Buslogic/Bustek/Storage Dimensions
...
MCA SCSI adapters.
bt_mca.c is going to live in sys/dev/buslogic instead of sys/dev/mca
as per a conversation with Peter, Doug and Mike.
Thanks to Andy Farkas <andyf@speednet.com.au> for being such a good
sport and doing all the testing for me (as I don't actually own one
of these cards. Yet.)
1999-09-03 03:50:55 +00:00
Matthew N. Dodd
30ca126cee
This is the rest of the MCA support; new_bus code to be exact.
...
Should we ever find ourselves on an RS/6000 this code should work
with few changes.
1999-09-03 03:40:00 +00:00
Matthew N. Dodd
478c54971b
SYSINIT() needs sys/kernel.h. Include it.
1999-09-03 03:14:36 +00:00
Matthew N. Dodd
7612e4c122
This adds the i386 specific support for systems with a MicroChannel
...
Architecture bus.
Reviewed by: msmith
1999-09-03 02:04:28 +00:00
Julian Elischer
d721abf23c
Remove accidental cut&paste garbage in a comment.
1999-09-03 01:38:29 +00:00
Greg Lehey
1fa2fb7bf2
Reverse MFC of revision 1.5.2.7:
...
Remove a rather embarrassing race condition.
Egged-on-by: alfred
1999-09-03 01:37:26 +00:00
Julian Elischer
14c457c23f
Comment the boot manager. So I don't have to work it all out again :-)
...
Reviewed by: rnordier@freebsd.org
1999-09-03 01:35:06 +00:00
Marcel Moolenaar
ff78e85043
Implementation of the modify_ldt syscall. Use the sysarch() interface to do
...
the actual work. When USER_LDT is not defined for a kernel, sysarch returns
EOPNOTSUPP. Display a message in that case and return ENOSYS to userland.
Reviewed by: luoqi
1999-09-02 21:50:42 +00:00
Luoqi Chen
7a2bb3b800
Some reorganization of sysarch() interface:
...
1. Move definitions of struct i386_*_args to the header file sysarch.h,
since they are part of the sysarch API. struct i386_get_ldt_args and
i386_set_ldt_args were identical, therefore make them into one
struct i386_ldt_args. Libc should use these definitions as well.
2. Return a more sensible EOPNOTSUPP for unknown operations.
Reviewed by: marcel
1999-09-02 20:59:50 +00:00
KATO Takenori
8b18acc0df
- Added new macros ED_P1_MAR(i) and ED_P1_PAR(i) that replace
...
`ED_P1_MAR + i' and `ED_P1_PAR + i', respectively.
- convert ED_PC_RESET and ED_PC_MISC into relative offset from
ED_PC_ASIC_OFFSET (those macros are not used in current source).
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-09-02 15:06:23 +00:00
KATO Takenori
c322fa140e
The ed_probe_Novell should not clear id_maddr when it fails to probe.
...
This fixes potential panic by kvtop at addr == 0.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
1999-09-02 15:01:56 +00:00
KATO Takenori
ae46296f4c
Sync with sys/i386/i386/userconfig.c revision 1.156.
1999-09-02 13:44:52 +00:00
KATO Takenori
c1699f31a8
Sync with sys/i386/conf/files.i386 revision 1.263.
1999-09-02 13:43:00 +00:00
KATO Takenori
de7e0308e8
Sync with sys/i386/conf/GENERIC revision up to 1.186.
1999-09-02 13:41:15 +00:00
Kazutaka YOKOTA
b86daab4e5
Enable ioctls to manipulate color palette. They have been implemented,
...
but disabled until now...
1999-09-02 08:09:13 +00:00
Kazutaka YOKOTA
a847d1e2d7
Do not call the VESA BIOS if the current video mode is not one of
...
the VESA modes.
1999-09-02 08:08:49 +00:00
Marcel Moolenaar
5772c0559a
Silence warnings about the use of vnode sanse declaration.
1999-09-02 08:02:17 +00:00
Peter Wemm
ae5d5ac013
Missed this use of the old pnp includes. I don't think this is meant to
...
be here though.
1999-09-02 05:59:20 +00:00
Peter Wemm
6c233a7138
Update for new pnp includes
1999-09-02 05:37:25 +00:00
Peter Wemm
6970268ef9
So that there is no confusion, zap these now. pnpinfo(8) should compile
...
with the new includes.
1999-09-02 05:22:16 +00:00
Peter Wemm
48ab255e6b
s/LOGIGAL/LOGICAL/
1999-09-02 05:13:01 +00:00
Peter Wemm
a3d5686298
Stub out the old pnp code till these are converted so GENERIC builds again.
1999-09-02 04:37:07 +00:00
Nick Hibma
2e771e0387
Typo: 'x' should be 'y' (only affects debugging output)
1999-09-01 21:37:56 +00:00
Doug Rabson
f6b6a3497c
This is part of an untested set of changes to the ed driver to support
...
the new PnP code. Since the bulk of the driver changes are not being
committed at this time, it will not affect the driver. The code is being
committed early to allow others synchronise changes.
1999-09-01 21:21:03 +00:00
Doug Rabson
4249382df0
This represents essentially a complete rewrite of the ISA PnP code. The
...
new system is integrated with the ISA bus code more cleanly and allows
the future addition of more enumerators such as PnPBIOS and ACPI.
This commit also enables the new pcm driver since it is somewhat tied to
the new PnP code.
1999-09-01 20:53:43 +00:00
Bill Paul
1ff33426c8
Re-arrange things in the attach routines of the 3Com and RealTek PHY
...
drivers so that we don't clobber things or leave them uninitialized
if we abort due a failure.
Submitted by: Luoqi Chen
1999-09-01 17:07:27 +00:00
Nick Sayer
c94abdcc97
quoted string change: the si driver also covers the Specialix "SX"
...
product.
1999-09-01 16:42:54 +00:00
Sean Eric Fagan
f3a6cf7052
Make prototype match function.
1999-09-01 16:21:57 +00:00
Poul-Henning Kamp
fd559c6fc1
Fix the sense of the vn_isdisk() check.
1999-09-01 15:17:18 +00:00