Poul-Henning Kamp
0b7ed341e1
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
Yoshihiro Takahashi
63c69957ca
MFi386: revision 1.397 (cosmetic changes)
2004-01-30 13:15:42 +00:00
Yoshihiro Takahashi
6c5786f2da
MFi386: revision 1.1122 (typos and cosmetic changes)
2004-01-30 13:06:57 +00:00
Yoshihiro Takahashi
41319fae45
The ataraid device is not needed for pc98.
2004-01-27 15:39:32 +00:00
Jeff Roberson
048ac395be
- 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
Jacques Vidrine
5864cda7c6
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
Yoshihiro Takahashi
0461cbf76e
MFi386: revisions from 1.1116 to 1.1119.
...
Remove NEWCARD related devices.
2004-01-21 16:28:19 +00:00
Yoshihiro Takahashi
9ce630976e
Merged from sys/dev/sio/sio.c revision 1.418.
2004-01-21 16:12:29 +00:00
Yoshihiro Takahashi
91d0bb0b66
MFi386: revision 1.1114.
2004-01-12 03:43:05 +00:00
Yoshihiro Takahashi
6c021e3150
MFi386: revision 1.583.
2004-01-11 09:18:33 +00:00
John Baldwin
b277f64b8b
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
David Xu
a30ec4b99c
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
Bruce Evans
42033f49c1
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
Yoshihiro Takahashi
92c531b502
Add detach method.
2003-12-28 12:25:49 +00:00
Bruce Evans
ac0e70c401
Merged from sys/dev/sio/sio.c revision 1.417.
2003-12-26 03:06:11 +00:00
Warner Losh
6ee2f106aa
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
Warner Losh
c786876b1c
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
Bruce Evans
f177e8630c
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
Yoshihiro Takahashi
b860ed6360
opt_apic.h is not needed.
2003-11-15 12:37:15 +00:00
Yoshihiro Takahashi
bd25c916d5
MFi386: revisions from 1.1102 to 1.1105.
2003-11-15 12:33:39 +00:00
Marcel Moolenaar
fcaa2925a9
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
Seigo Tanimura
512824f8f7
- 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
Yoshihiro Takahashi
0e87805663
Include machine/asmacros.h instead of machine/asm.h.
...
Submitted by: bde
2003-11-05 17:01:51 +00:00
Bruce Evans
2bcad53cb9
Removed reference to the garbage (and soon to be deleted) option
...
DPT_ALLOW_MEMIO.
2003-11-05 14:34:36 +00:00
Yoshihiro Takahashi
6628d2596a
'options APIC_IO' is replaced by 'device apic'.
2003-11-04 13:52:09 +00:00
Yoshihiro Takahashi
87780dc517
'options APIC_IO' is replaced by 'device apic'.
2003-11-04 13:31:44 +00:00
Yoshihiro Takahashi
6469c6629c
MFi386: revision 1.206
2003-11-04 13:15:12 +00:00
Yoshihiro Takahashi
18cf8bfb1c
MFi386: revision 1.580
2003-11-04 13:14:14 +00:00
Yoshihiro Takahashi
95755cc99b
Split pc98 support into pc98/pc98/nmi.c.
2003-11-04 13:01:41 +00:00
Yoshihiro Takahashi
b84a41b421
MFi386: revision 1.579.
2003-10-31 14:54:33 +00:00
Yoshihiro Takahashi
a59a17a08d
Merged from sys/isa/syscons_isa.c revision 1.24.
2003-10-31 13:48:24 +00:00
Yoshihiro Takahashi
673520bac8
MFi386: revision 1.578.
2003-10-31 13:47:43 +00:00
Yoshihiro Takahashi
a1f83c968f
MFi386: revision 1.577.
2003-10-19 11:35:44 +00:00
Poul-Henning Kamp
b52b7f465d
Eliminate use bio_blkno.
2003-10-18 17:51:26 +00:00
Poul-Henning Kamp
91a50fa4a5
Discontinue bio_blkno usage.
2003-10-18 17:45:45 +00:00
Yoshihiro Takahashi
ac134d1d1b
MFi386: revision 1.576.
2003-10-11 09:24:58 +00:00
Yoshihiro Takahashi
6d8fc6bf6f
Merged from sys/dev/sio/sio.c revisions from 1.405 to 1.414.
2003-10-05 11:55:14 +00:00
Yoshihiro Takahashi
98120869b4
MFi386: revisions 1.572, 1.573 and 1.574.
2003-10-05 09:05:45 +00:00
Yoshihiro Takahashi
d4b3b85f35
MFi386: revision 1.205
2003-10-05 08:56:49 +00:00
Poul-Henning Kamp
3f99f14bf1
OK, I messed up /dev/console with what I had hoped would be compat
...
code. Convert remaining console drivers and hope for the best.
2003-09-26 19:35:50 +00:00
Poul-Henning Kamp
405f776c83
Typo in last commit: missing ')'
2003-09-26 12:13:35 +00:00
Poul-Henning Kamp
4866f95d76
Change fb_attach() and fb_detach() to take a integer unit number rather
...
than a dev_t.
All of the dev_t's passed were bogusly created with makedev()
2003-09-26 10:41:44 +00:00
Yoshihiro Takahashi
33e38a2cc8
Implement the bus_space_map() function to allocate resources and initialize
...
a bus_handle, but currently it does only initializing a bus_handle.
2003-09-23 08:22:34 +00:00
Yoshihiro Takahashi
6c04a4a3dd
Merged from sys/isa/fd.c revisions 1.259 and 1.260.
2003-09-18 09:49:08 +00:00
Yoshihiro Takahashi
211822ccef
Merged from sys/isa/fd.c revision 1.258.
2003-09-13 12:56:05 +00:00
Yoshihiro Takahashi
8278014bce
MFi386 revisions 1.570 and 1.571.
2003-09-11 14:07:02 +00:00
Yoshihiro Takahashi
916a70c619
MFi386: revision 1.204.
2003-09-11 14:05:06 +00:00
Yoshihiro Takahashi
c475aa0304
MFi386: revision 1.1093.
2003-09-11 13:44:48 +00:00
Yoshihiro Takahashi
79a5a35f9e
Merged from sys/isa/fd.c revisions 1.252, 1.253, 1.254, 1.255 and 1.257.
2003-09-11 13:35:35 +00:00
David E. O'Brien
3fc40c2484
Sort 'bge' correctly.
2003-09-10 18:54:59 +00:00