Commit Graph

1169 Commits

Author SHA1 Message Date
kato
f57e9809f8 Fixed a compiler warning by conversion from pointer to integer. 1999-08-10 12:55:06 +00:00
kato
8c9b3c8625 - Removed unused variable.
- Fixed missing argument of printf.
- Fixed printf format.
- Added parentheses suggested by the compiler.
1999-08-10 09:13:48 +00:00
kato
f4970b7e4f Sync with sys/i386/conf/userconfig.c revision 1.152. 1999-08-10 08:35:57 +00:00
nyan
4c255fd09d Fixed checking a type of the interface.
Submitted by:   Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
1999-08-09 13:03:35 +00:00
phk
ee871b6440 Merge the cons.c and cons.h to the best of my ability. alpha may or
may not compile, I can't test it.
1999-08-09 10:35:05 +00:00
phk
74db02785d Make the pty driver as close to a cloning device as we can get for now,
we create the pty on the fly when it is first opened.

If you run out of ptys now, just MAKEDEV some more.

This also demonstrate the use of dev_t->si_tty_tty and dev_t->si_drv1
in a device driver.
1999-08-08 19:28:59 +00:00
kato
5c15236e38 Sync with sys/i386/conf/options.i386 revision 1.119. 1999-08-08 11:13:47 +00:00
kato
715decbd81 Sync with sys/i386/conf/majors.i386 revision 1.81. 1999-08-08 11:12:51 +00:00
kato
07d87ab816 Sync with sys/i386/conf/files.i386 revision 1.257. 1999-08-08 11:12:00 +00:00
kato
25358e9960 Enable bpf by default. 1999-08-08 11:09:28 +00:00
kato
cbf9083c77 Fix a panic caused by freeing unallocated structure.
Submitted by:	Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
1999-08-08 10:06:27 +00:00
kato
b66a123aa5 Sync with sys/i386/conf/majors.i386 revision 1.80. 1999-08-01 16:03:31 +00:00
kato
69ed2c5dc9 Sync with sys/i386/isa/clock.c revision up to 1.142. 1999-07-30 11:43:10 +00:00
kato
862e8ea982 Sync with sys/i386/i386/machdep.c revision 1.357. 1999-07-30 11:42:05 +00:00
kato
2aeb12accc Removed apm_setup.s. 1999-07-30 11:40:55 +00:00
mdodd
1b3328c300 Alter the behavior of sys/kern/subr_bus.c:device_print_child()
- device_print_child() either lets the BUS_PRINT_CHILD
	  method produce the entire device announcement message or
	  it prints "foo0: not found\n"

Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on
the previous behavior of device_print_child() (printing the
"foo0: <FooDevice 1.1>" bit of the announce message.)

Provide bus_print_child_header() and bus_print_child_footer()
to actually print the output for bus_generic_print_child().
These functions should be used whenever possible (unless you can
just use bus_generic_print_child())

The BUS_PRINT_CHILD method now returns int instead of void.

Modify everything else that defines or uses a BUS_PRINT_CHILD
method to comply with the above changes.

	- Devices are 'on' a bus, not 'at' it.
	- If a custom BUS_PRINT_CHILD method does the same thing
	  as bus_generic_print_child(), use bus_generic_print_child()
	- Use device_get_nameunit() instead of both
	  device_get_name() and device_get_unit()
	- All BUS_PRINT_CHILD methods return the number of
	  characters output.

Reviewed by: dfr, peter
1999-07-29 01:03:04 +00:00
kato
c4e04ec167 Sync with sys/i386/isa/npx.c revision up to 1.75. 1999-07-26 12:22:41 +00:00
kato
6958c31bd1 Sync with sys/i386/isa/clock.c revision up to 1.140.
This commit may break 8MHz system clock mode.
1999-07-26 12:21:09 +00:00
kato
00679eb490 Sync with sys/i386/i386/userconfig.c revision up to 1.150. 1999-07-26 12:14:59 +00:00
kato
c75eae3a3e Sync with sys/i386/i386/machdep.c revision 1.356. 1999-07-26 12:14:00 +00:00
kato
694799ed1d Sync with sys/i386/conf/files.i386 revision 1.254. 1999-07-26 12:12:58 +00:00
kato
a898a62153 Sync with sys/i386/conf/GENERIC revision 1.178. 1999-07-26 12:10:33 +00:00
nyan
6b05b97b0d Fixed missing changes from sys/pc98/pc98/pc98.c when new-bus was integrated.
- In isa_dmastart() and isa_dmadone(), cache flush.
  - Correct current word register address.

Submitted by (partial): Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
1999-07-21 13:30:56 +00:00
kato
2ee5e6cd04 Removed device-dirver flags. 1999-07-09 13:19:35 +00:00
kato
0e50f36826 Sync with sys/i386/i386/userconfig.c revision 1.148. 1999-07-09 12:52:09 +00:00
kato
48c84d50f9 Sync with sys/i386/i386/machdep.c revision 1.355. 1999-07-09 12:51:11 +00:00
kato
f52820a7e9 Sync with sys/dev/syscons/syscons.c revision 1.313. 1999-07-08 12:53:38 +00:00
kato
55796aeb7e Sync with sys/i386/i386/machdep.c revision up to 1.354. 1999-07-08 12:48:53 +00:00
kato
d7c6a667ec Sync with sys/i386/conf/majors.i386 revision 1.79. 1999-07-08 12:07:14 +00:00
kato
c47bad7055 Sync with sys/i386/conf/Makefile.i386 revision 1.158. 1999-07-08 11:48:47 +00:00
des
3c4a5a075d Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
msmith
af7615d39a Move the initialisation/tuning of nmbclusters from param.c/machdep.c
into uipc_mbuf.c.  This reduces three sets of identical tunable code to
one set, and puts the initialisation with the mbuf code proper.

Make NMBUFs tunable as well.

Move the nmbclusters sysctl here as well.

Move the initialisation of maxsockets from param.c to uipc_socket2.c,
next to its corresponding sysctl.

Use the new tunable macros for the kern.vm.kmem.size tunable (this should have
been in a separate commit, whoops).
1999-07-05 08:52:54 +00:00
phk
2a99fba980 Remove cmaj and bmaj args from DEV_DRIVER_MODULE. 1999-07-04 14:58:56 +00:00
nyan
5359b09458 Remove the 'tty' interrupt label. This is obsolete.
Pointed out by:	NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
1999-07-04 11:53:18 +00:00
kato
ff830804c6 Added copyright.
Pointed out by:	yokota
1999-07-03 08:50:45 +00:00
kato
23d33e12e7 Removed unused files. 1999-07-03 08:45:16 +00:00
kato
a4c978543a Moved LCD controle routine for certain models of EPSON laptops into
suitable place.

Submitted by:	yokota
1999-07-03 08:44:32 +00:00
kato
e386828d08 Sync with sys/i386/i386/machdep.c revision 1.349. 1999-07-03 08:31:32 +00:00
kato
eb89e8de9b Sync with sys/i386/conf/majors.i386 revision 1.78. 1999-07-03 08:18:27 +00:00
kato
8e401c5fd4 Sync with sys/i386/conf/Makefile.i386 revision 1.157. 1999-07-03 08:17:40 +00:00
kato
d49508a313 Sync with sys/i386/i386/userconfig.c revision 1.147. 1999-06-30 13:30:58 +00:00
kato
df883482f7 Sync with sys/i386/i386/machdep.c revision 1.345. 1999-06-30 13:30:10 +00:00
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