Yoshihiro Takahashi
d653affd6c
Fix compile error with FB_INSTALL_CDEV option.
2003-02-23 13:28:44 +00:00
Poul-Henning Kamp
263444cfbf
Change the console interface to pass a "struct consdev *" instead of a
...
dev_t to the method functions.
The dev_t can still be found at struct consdev *->cn_dev.
Add a void *cn_arg element to struct consdev which the drivers can use
for retrieving their softc.
2003-02-20 20:54:45 +00:00
Warner Losh
a163d034fa
Back out M_* changes, per decision of the TRB.
...
Approved by: trb
2003-02-19 05:47:46 +00:00
Poul-Henning Kamp
029f0b69a4
Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDB
...
will not have a dev_t.
2003-02-16 19:22:21 +00:00
Poul-Henning Kamp
f341ca9891
Remove #include <sys/dkstat.h>
2003-02-16 14:13:23 +00:00
Poul-Henning Kamp
876fbedb4c
Switch to use the TSC code i386/i386/tsc.c
2003-02-11 11:43:58 +00:00
Yoshihiro Takahashi
5035ea340d
Merged from sys/dev/sio/sio.c revision 1.383.
2003-02-07 10:16:35 +00:00
Poul-Henning Kamp
f316d6c1d3
Reduce diff to i386/isa/clock.c by unifdef -DPC98
2003-02-05 10:16:43 +00:00
Poul-Henning Kamp
e39ced7f6a
Typo in last commit
2003-02-05 09:35:02 +00:00
Poul-Henning Kamp
4bec58cd70
MFi386: write the correct weekday back to the RTC.
2003-02-05 09:33:57 +00:00
Poul-Henning Kamp
91f1c2b3cc
Split the global timezone structure into two integer fields to
...
prevent the compiler from optimizing assignments into byte-copy
operations which might make access to the individual fields non-atomic.
Use the individual fields throughout, and don't bother locking them with
Giant: it is no longer needed.
Inspired by: tjr
2003-02-03 19:49:35 +00:00
Jake Burkholder
238dd3209a
Split statclock into statclock and profclock, and made the method for driving
...
statclock based on profhz when profiling is enabled MD, since most platforms
don't use this anyway. This removes the need for statclock_process, whose
only purpose was to subdivide profhz, and gets the profiling clock running
outside of sched_lock on platforms that implement suswintr.
Also changed the interface for starting and stopping the profiling clock to
do just that, instead of changing the rate of statclock, since they can now
be separate.
Reviewed by: jhb, tmm
Tested on: i386, sparc64
2003-02-03 17:53:15 +00:00
Yoshihiro Takahashi
57afe26bb6
MFi386: revision 1.192.
2003-01-30 13:23:18 +00:00
Poul-Henning Kamp
38563e3c33
Make tsc_freq a 64bit on PC98 also.
2003-01-29 18:08:26 +00:00
Alfred Perlstein
44956c9863
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
Yoshihiro Takahashi
6f40e92346
Merged from sys/isa/syscons_isa.c revision 1.21.
2003-01-15 13:12:12 +00:00
Yoshihiro Takahashi
7a6794e9c4
Merged from sys/isa/fd.c revision 1.244.
2003-01-12 03:11:21 +00:00
Yoshihiro Takahashi
f61e88f901
Merged from sys/isa/fd.c revision 1.243.
2003-01-03 06:40:54 +00:00
Jens Schweikhardt
9d5abbddbf
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
Jens Schweikhardt
d64ada501a
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
Yoshihiro Takahashi
0730e65baa
Merged from sys/isa/fd.c revision 1.242.
2002-11-17 02:39:55 +00:00
Yoshihiro Takahashi
2ea0bd9562
Merged from sys/isa/syscons_isa.c revision 1.20.
2002-10-22 15:22:49 +00:00
Yoshihiro Takahashi
abf7bd9e91
MFi386: revisions 1.189 and 1.190.
2002-10-22 15:19:46 +00:00
Yoshihiro Takahashi
971475a2da
Merged from sys/isa/syscons_isa.c revision 1.19.
2002-10-17 12:54:51 +00:00
Yoshihiro Takahashi
96d818fda7
Merged from sys/dev/sio/sio.c revision 1.382.
2002-10-14 10:10:09 +00:00
Yoshihiro Takahashi
f4bff7c21b
Fixed a warning if COM_MULTIPORT option is not defined.
...
Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
2002-10-10 14:14:29 +00:00
Yoshihiro Takahashi
88b2247e41
Merged from sys/isa/fd.c revisions 1.224 and 1.241.
2002-10-07 13:05:45 +00:00
Poul-Henning Kamp
953afc438f
Merge the last couple of my changes to fd.c into the pc98 version.
...
Sponsored by: DARPA & NAI Labs
2002-10-05 15:15:43 +00:00
Yoshihiro Takahashi
7698537b29
Added some buggy PC-98 PnP cards support.
2002-09-29 13:31:26 +00:00
Yoshihiro Takahashi
a9efc762e3
Merged from sys/isa/fd.c revision 1.238.
2002-09-29 11:43:14 +00:00
Yoshihiro Takahashi
8bb39f7153
Merged from sys/dev/sio/sio.c revisions 1.380 and 1.381.
2002-09-29 11:41:48 +00:00
Yoshihiro Takahashi
9601a29654
Move the com_emr register definition to sioreg.h.
2002-09-24 02:35:57 +00:00
Yoshihiro Takahashi
1577b9e6dd
Merged from sys/dev/sio/sio.c revision 1.379.
2002-09-24 02:26:55 +00:00
Poul-Henning Kamp
e48fb743d8
Remove #ifdef/#endif 3 years after the stuff they protected was removed.
...
Spotted by: peter.
2002-09-21 08:00:01 +00:00
Poul-Henning Kamp
301147cd6a
#include <sys/disk.h> to get disk_err() prototype.
...
Sponsored by: DARPA & NAI Labs.
2002-09-20 17:40:49 +00:00
Poul-Henning Kamp
f90c382c0c
Make FreeBSD "struct disklabel" agnostic, step 311 of 723:
...
Rename diskerr() to disk_err() for naming consistency.
Drop the by now entirely useless struct disklabel argument.
Add a flag argument for new-line termination.
Fix a couple of printf-format-casts to %j instead of %l.
Correctly print the name of all bio commands.
Move the function from subr_disklabel.c to subr_disk.c,
and from <sys/disklabel.h> to <sys/disk.h>.
Use the new disk_err() throughout, #include <sys/disk.h> as needed.
Bump __FreeBSD_version for the sake of the aac disk drivers #ifdefs.
Remove unused disklabel members of softc for aac, amr and mlx, which seem
to originally have been intended for diskerr() use, but which only rotted
and got Copy&Pasted at least two times to many.
Sponsored by: DARPA & NAI Labs.
2002-09-20 12:52:03 +00:00
Yoshihiro Takahashi
5d52e42381
Merged from sys/isa/fd.c revisions 1.234, 1.235 and 1.236.
2002-09-16 07:39:47 +00:00
Yoshihiro Takahashi
14955691c1
Merged from sys/dev/sio/sio.c revision 1.378.
2002-09-16 07:14:02 +00:00
Yoshihiro Takahashi
49e387d30b
Merged from sys/isa/syscons_isa.c revision 1.18.
2002-09-16 07:11:43 +00:00
Philippe Charnier
93b0017f88
Replace various spelling with FALLTHROUGH which is lint()able
2002-08-25 13:23:09 +00:00
Yoshihiro Takahashi
c6fe09e208
Merged from sys/dev/syscons/scvtb.c revision 1.9.
2002-08-22 13:24:00 +00:00
Peter Wemm
ae05c598e1
de-count pckbd for pc98. This file is only compiled if NPCKBD was 1,
...
so the conditional compile should never have been used.
2002-08-20 00:05:41 +00:00
Yoshihiro Takahashi
5d4a0e12ca
Check return status from fd_in() function.
2002-07-16 14:34:38 +00:00
Yoshihiro Takahashi
b8391d6a1a
Merged from sys/dev/sio/sio.c revisions 1.376 and 1.377.
2002-06-24 15:24:42 +00:00
KATO Takenori
0fc8183905
MFi386: sys/i386/isa/clock.c revision 1.187.
2002-06-24 08:04:47 +00:00
Yoshihiro Takahashi
5463ee36b6
Backout previous change and merge from sys/dev/sio/sio.c revision 1.375.
2002-06-19 13:20:20 +00:00
Yoshihiro Takahashi
2240ad94a5
Merged from sys/isa/fd.c revision 1.233.
2002-06-19 13:17:43 +00:00
Nick Hibma
d8dbc77c56
Make the speed used by gdb over serial settable in the kernel configuration.
...
This facilitates the use in circumstances where you are using a serial
console as well. GDB doesn't support anything higher than 9600 baud (19k2
if you are lucky), but the console does.
2002-06-18 21:30:37 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Yoshihiro Takahashi
3ffc9f0bff
Merged from sys/isa/fd.c revisions from 1.229 to 1.232.
2002-05-14 12:30:52 +00:00