Commit Graph

1127 Commits

Author SHA1 Message Date
kato
836f488cc5 Typo: BUF_INITLOCK -> BUF_LOCKINIT and BUF_FREELOCK -> BUF_LOCKFREE. 1999-06-28 14:01:03 +00:00
kato
d13ed34863 Sync with sys/i386/isa/clock.c revision 1.138. 1999-06-28 13:11:16 +00:00
kato
b601ed220a Sync with sys/i386/i386/userconfig.c revision 1.146. 1999-06-28 13:10:03 +00:00
kato
a6bac2371e Sync with sys/i386/i386/machdep.c revision 1.344. 1999-06-28 13:08:59 +00:00
kato
4e506f57f0 Sync with sys/i386/conf/Makefile.i386 revision 1.156. 1999-06-28 13:07:58 +00:00
mckusick
5b58f2f951 Convert buffer locking from using the B_BUSY and B_WANTED flags to using
lockmgr locks. This commit should be functionally equivalent to the old
semantics. That is, all buffer locking is done with LK_EXCLUSIVE
requests. Changes to take advantage of LK_SHARED and LK_RECURSIVE will
be done in future commits.
1999-06-26 02:47:16 +00:00
kato
2521c38302 From submitter:
The attached diff attempts to eliminate as much of the difference
between the i386 and the pc98 version of the file as possible.  It
should not make any semantic difference (it consists of whitespace
changes, order changes, comment changes, changes of case for hex
constants, and merging in a couple of constants that hadn't made it
from the i386 version.)

Submitted by:	eivind
1999-06-25 15:17:20 +00:00
kato
5c8c1d98a3 Sync with sys/dev/syscons/scvtb.c revision 1.2.
Submitted by:	yokota
1999-06-24 14:03:07 +00:00
kato
3e3cf46989 Merge with sys/isa/syscons_isa.c and sys/dev/syscons/syscons.c
revisions 1.6 and 1.308, respectively.

Pointed-out by:		yokota
1999-06-24 12:13:08 +00:00
kato
2e2fe43a35 PC98 part of the second phase of syscons reorganization.
Submitted by:	yokota
1999-06-24 10:51:40 +00:00
kato
2dc95534a1 Sync with sys/i386/isa/clock.c revision 1.137. 1999-06-24 08:32:52 +00:00
kato
093c06a9f5 Sync with sys/i386/conf/options.i386 revision 1.118. 1999-06-24 08:31:08 +00:00
msmith
e7aad4d041 From the submitter:
wfd driver code tries to give wd driver first crack at ioctl's,
    but incorrectly interprets internal error and never gets to send
    eject to ATAPI device.

(this is fixed in the atapi-fd driver)

PR:		kern/12218
Submitted by:	Simon Walton <simonw@cinesite.com>
1999-06-24 03:09:11 +00:00
kato
c93d5ba964 Sync with sys/i386/i386/machdep.c revision 1.342. 1999-06-21 11:14:27 +00:00
kato
88d2704813 Sync with sys/i386/conf/majors.i386 revision 1.77. 1999-06-21 11:12:25 +00:00
kato
8e460e1641 Sync with sys/i386/conf/files.i386 revision 1.247. 1999-06-21 11:11:39 +00:00
kato
fb2478efdb New parallel port support for PC98. Old PC98s which have
uni-directional parallel port should use olpt driver instead of lpt
driver.

Files ppc.c and ppcreg.h are copied form i386/isa directory with PC98
change.

Submitted by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
1999-06-18 14:48:28 +00:00
kato
abd825f27c Sync with sys/i386/i386/machdep.c revision up to 1.341. 1999-06-17 11:09:39 +00:00
kato
b8ea7d756c Sync with sys/i386/conf/options.i386 revision 1.117. 1999-06-17 11:07:52 +00:00
des
5d9e5afb2b Kill option FAILSAFE.
PR:		i386/12187
Approved by:	bde
1999-06-15 13:14:56 +00:00
kato
e6fb08e8d6 Sync with sys/i386/conf/majors.i386 revision 1.76. 1999-06-06 12:50:46 +00:00
dfr
20497fc04f Floppy driver options moved to conf/options. 1999-06-05 13:57:10 +00:00
kato
ebf3058766 Oops, remove redundant comments. 1999-06-04 08:19:29 +00:00
kato
54ef69f329 Declare Crtat and Atrat because screen savers use these variables.
Pointed out by:	Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
1999-06-04 08:17:11 +00:00
kato
aeb465544c Remove VM86 option. 1999-06-03 13:50:54 +00:00
kato
d6a048fdfe Sync with sys/i386/i386/machdep.c revision 1.339.
New function getmemsize_pc98 is added in this commit, since PC98 is
quite different in obtaining memory size from IBM-PC.  Many lines of
this function is shareable with IBM-PC's getmemsize function, but
sharing needs many #ifdef PC98 statements.  Therefore, I gave up
sharing code with IBM-PC's and just added new function.
1999-06-03 13:49:52 +00:00
kato
7467f798a2 Sync with sys/i386/conf/files.i386 and options.i386 revisions 1.246
and 1.115, respectively.
1999-06-03 13:04:00 +00:00
kato
bfae8441dc Fixed locations of include files. 1999-06-01 13:14:35 +00:00
kato
e1972be652 Sync with sys/i386/isa/clock.c revision 1.136. 1999-06-01 12:32:54 +00:00
phk
6a5dc97620 Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.
1999-05-31 11:29:30 +00:00
phk
7e4a9dced9 This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".

        Initialize the d_maj and d_bmaj fields.

        The d_reset field was not removed, although it is never used.

I used a program to do most of this, so all the files now use the
same consistent format.  Please keep it that way.

Vinum and i4b not modified, patches emailed to respective authors.
1999-05-30 16:53:49 +00:00
kato
b12800119a Merge with sys/i386/isa/wd.c revision 1.192 and 1.193.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-05-25 10:41:14 +00:00
kato
f62d670f13 Sync with sys/i386/i386/userconfig.c revision 1.145. 1999-05-25 10:32:10 +00:00
kato
6f6aef19c5 Sync with sys/i386/conf/options.i386 revision 1.114. 1999-05-25 10:30:58 +00:00
roger
9f72a57de7 Added device major 125 for the Advantech PCI-1750 Digital IO card.
A very nice i/o board with 16 open collector outputs (capable of driving 5-40v)
and 16 inputs
Also has 2 16 bit cascadable counters (10Mhz clock) capable of
generating interrupts.

It is a PCI card, and emulates the Intel 8254 timer.
It uses the PLX PCI-9050 PCI bus interface to map the
8254 style hardware and the i/o registers into the IO space.

Developed by Jennifer Clark <jen@vulture.dmem.strath.ac.uk>
Strathclyde University Transparent Telepresence Research Group
1999-05-18 16:18:42 +00:00
kato
91e1745f17 - Fixed default irq in SMP kernel.
- Removed hardcode IRQ in #ifdef PC98.
1999-05-17 12:38:28 +00:00
kato
7d4fd26819 Sync with sys/i386/isa/npx.c revision 1.73. 1999-05-17 12:13:28 +00:00
kato
ab6fd80abe Sync with sys/i386/i386/userconfig.c revision 1.144. 1999-05-17 12:09:07 +00:00
kato
c8c1eef53e Removed ucmpdi2.c 1999-05-17 12:07:00 +00:00
kato
974d1e773f Sync with sys/i386/i386/userconfig.c revision 1.143. 1999-05-14 10:05:55 +00:00
kato
435c700a72 Sync with sys/i386/conf/files.i386 revision 1.241. 1999-05-14 10:03:48 +00:00
luoqi
a60ffa3c1c Unbreak VESA on SMP. 1999-05-12 21:39:07 +00:00
kato
380c585aaf Sync with sys/i386/isa/diskslice_machdep.c revision 1.34. 1999-05-12 08:33:22 +00:00
luoqi
05e390eef7 Yet another place I missed when increasing trapframe size, which causes problem
to SIGFPE handling.

Reviewed by:	Bruce Evans	<bde@zeta.org.au>
1999-05-11 16:29:21 +00:00
sos
9a5315b2f6 Make the driver work on HP8100 and the newer Philips that does not
support the rezero command.
1999-05-11 10:39:27 +00:00
kato
31933bda1f Sync with sys/isa/sio.c revision 1.241. 1999-05-11 08:38:28 +00:00
kato
811c04569c Sync with sys/i386/isa/fd.c revision 1.143. 1999-05-11 08:37:16 +00:00
kato
1819f2bc74 Sync with sys/i386/i386/usercnofig.c revision 1.142. 1999-05-11 08:36:12 +00:00
kato
2f539e7c63 Fixed for COM_MULTIPORT option. Members flags and unit should be
obtained via appropriate functions.
1999-05-10 09:37:37 +00:00
kato
207e053c4b Sync with sys/isa/sio.c revision 1.240. 1999-05-10 09:14:40 +00:00