Commit Graph

2190 Commits

Author SHA1 Message Date
imp
3a87c31194 The bs driver was replaced with the ct(pc98) driver. takahashi-san
(nyan) says this driver is now obsolete and can be removed.
2004-04-07 05:44:51 +00:00
imp
ebf059d1df Remove advertising clause from University of California Regent's
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson
2004-04-07 05:00:01 +00:00
nyan
2e9bac6578 MFi386: Enable the cy driver. 2004-04-06 14:19:45 +00:00
nyan
e755b66f61 Backout revision 1.31. The twa entries were moved to i386/conf/NOTES. 2004-04-04 04:41:52 +00:00
nyan
ee1f5105c1 The twa device and related options are not needed. 2004-04-01 14:23:41 +00:00
nyan
af934bf968 Add a comment about time stamper.
Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
2004-03-29 12:51:46 +00:00
nyan
8a75d031d7 - Fix PC98 supports after importing auto selection. [1]
- Fix 1.44MB floppy drive probe sequence. [2]

Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp> [1]
		chi@bd.mbn.or.jp (Chiharu Shibata) [2]
2004-03-28 13:40:23 +00:00
nyan
f9ac46b8eb MFi386: revision 1.1136. 2004-03-28 12:06:29 +00:00
nyan
94b9ebfa44 MFi386: revision 1.586. 2004-03-28 12:03:39 +00:00
njl
05a1f56fc9 Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by:	Mark Santcroos <marks@ripe.net>
Reviewed by:	imp, dfr, bde
2004-03-17 17:50:55 +00:00
nyan
6e962440fd Don't use the pcic polling. 2004-03-16 12:40:11 +00:00
imp
f16b7102d0 Temporarily comment out cy.
Remove COMPAT_OLDISA
2004-03-15 10:39:37 +00:00
imp
e4c4e93d49 including isa_device.h was historical in this file, remove it 2004-03-15 10:39:01 +00:00
obrien
e3a889945b Shorten a long comment. 2004-03-15 00:49:40 +00:00
imp
e9e7dbbcb8 comment out bs and wd entries in the hints 2004-03-14 23:02:07 +00:00
nyan
994f9faf08 MFi386: Remove the stl and stli drivers. 2004-03-14 09:46:36 +00:00
nyan
d8c0e1b9ca Restore CDIOCREADAUDIO ioctl.
Pointed out by:	KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
2004-03-07 14:16:42 +00:00
nyan
4d5eb6b80f Remove '#include <machine/bus_pio.h>'. This is meaningless. 2004-03-07 05:39:38 +00:00
nyan
da48bd6815 Remove unneeded devices. 2004-03-07 05:38:20 +00:00
nyan
23828c5425 MFi386: revisions from 1.1127 to 1.1131. 2004-03-07 04:09:18 +00:00
nyan
b388cccebb Add the agp, bfe, sk and ti devices. (the agp is disabled by default).
Remove obsolete compat_atdisk device.
2004-03-07 04:07:57 +00:00
phk
355cdf2848 Remove unused FDNUMTOUNIT() macro 2004-02-29 10:21:40 +00:00
nyan
8f0ca54fc2 Merged from sys/isa/fd.c revision 1.266. 2004-02-26 14:59:10 +00:00
phk
ad925439e0 Device megapatch 4/6:
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.

Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
2004-02-21 21:10:55 +00:00
phk
fcf7e634fb Device megapatch 3/6:
Add missing D_TTY flags to various drivers.

Complete asserts that dev_t's passed to ttyread(), ttywrite(),
ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty
pointer.

Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default
cdevsw methods for D_TTY drivers and remove the explicit initializations
in various drivers cdevsw structures.
2004-02-21 20:41:11 +00:00
phk
df397dedea Device megapatch 1/6:
Free approx 86 major numbers with a mostly automatically generated patch.

A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
2004-02-21 19:42:58 +00:00
phk
49c92e5706 Change the disk(9) API in order to make device removal more robust.
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.
2004-02-18 21:36:53 +00:00
nyan
0fb31cbaac MFi386: revision 1.397 (cosmetic changes) 2004-01-30 13:15:42 +00:00
nyan
60605492ee MFi386: revision 1.1122 (typos and cosmetic changes) 2004-01-30 13:06:57 +00:00
nyan
bcac357188 The ataraid device is not needed for pc98. 2004-01-27 15:39:32 +00:00
jeff
8a4acc2156 - Recruit some new ULE users by making it the default scheduler in GENERIC.
ULE will be in a probationary period to determine whether it will be left
   as the default in 5.3 which would likely mean the rest of the 5.x series.
2004-01-24 21:38:52 +00:00
nectar
70865363ca Add PFIL_HOOKS to the GENERIC kernel configuration, primarily so
that one can load the IPFilter module (which requires PFIL_HOOKS).

Requested by:	Many, for over a year
2004-01-24 14:59:51 +00:00
nyan
501b235121 MFi386: revisions from 1.1116 to 1.1119.
Remove NEWCARD related devices.
2004-01-21 16:28:19 +00:00
nyan
f36f9e2c2f Merged from sys/dev/sio/sio.c revision 1.418. 2004-01-21 16:12:29 +00:00
nyan
29386da0d7 MFi386: revision 1.1114. 2004-01-12 03:43:05 +00:00
nyan
772e06d92b MFi386: revision 1.583. 2004-01-11 09:18:33 +00:00
jhb
604579d4b8 Remove the AUTO_EOI_2 option for PC-98 as it has never done anything anyway
and was even commented out in NOTES.
2004-01-06 18:51:14 +00:00
davidxu
f39653dda8 Make sigaltstack as per-threaded, because per-process sigaltstack state
is useless for threaded programs, multiple threads can not share same
stack.
The alternative signal stack is private for thread, no lock is needed,
the orignal P_ALTSTACK is now moved into td_pflags and renamed to
TDP_ALTSTACK.
For single thread or Linux clone() based threaded program, there is no
semantic changed, because those programs only have one kernel thread
in every process.

Reviewed by: deischen, dfr
2004-01-03 02:02:26 +00:00
bde
d456b60ff2 Garbage-collected CLK_USE_TSC_CALIBRATION.
i386/conf/NOTES, pc98/conf/NOTES:
Fixed the descriptions of the other CLK_* options.
2003-12-30 07:28:54 +00:00
nyan
e05b985b78 Add detach method. 2003-12-28 12:25:49 +00:00
bde
eb31f8e4f7 Merged from sys/dev/sio/sio.c revision 1.417. 2003-12-26 03:06:11 +00:00
imp
87db7e9542 The dgb driver is redundant with the digi driver in the tree. It uses
lots of old interfaces, and digi now supports all cards that dgb
supported.  The author of the driver says that this is no longer
necessary.

Approved by: babkin@
2003-12-07 04:18:52 +00:00
imp
03373578dd There is no such thing as a pc98 machine with ISA expansion slots, nor
is there a C-BUS Cronyx Sigma board.  Remove it from pc98 files and lint.

Approved by: re <scottl>
2003-12-03 21:44:44 +00:00
bde
32b3c399d1 Merged from sys/dev/sio/sio.c revisions 1.415 and 1.416.
Approved by:	nyan
(Blanket approval for simple changes in sio.)
2003-11-17 23:13:08 +00:00
nyan
13dfe9d492 opt_apic.h is not needed. 2003-11-15 12:37:15 +00:00
nyan
fecbec6a59 MFi386: revisions from 1.1102 to 1.1105. 2003-11-15 12:33:39 +00:00
marcel
21340f30b3 Change the clear_ret argument of get_mcontext() to be a flags argument.
Since all callers either passed 0 or 1 for clear_ret, define bit 0 in
the flags for use as clear_ret. Reserve bits 1, 2 and 3 for use by MI
code for possible (but unlikely) future use. The remaining bits are for
use by MD code.

This change is triggered by a need on ia64 to have another knob for
get_mcontext().
2003-11-09 20:31:04 +00:00
tanimura
7eade05dfa - Implement selwakeuppri() which allows raising the priority of a
thread being waken up.  The thread waken up can run at a priority as
  high as after tsleep().

- Replace selwakeup()s with selwakeuppri()s and pass appropriate
  priorities.

- Add cv_broadcastpri() which raises the priority of the broadcast
  threads.  Used by selwakeuppri() if collision occurs.

Not objected in:	-arch, -current
2003-11-09 09:17:26 +00:00
nyan
4dcc0c992a Include machine/asmacros.h instead of machine/asm.h.
Submitted by:	bde
2003-11-05 17:01:51 +00:00
bde
c8d351caf9 Removed reference to the garbage (and soon to be deleted) option
DPT_ALLOW_MEMIO.
2003-11-05 14:34:36 +00:00