Dag-Erling Smørgrav
09a23520c0
Unbreak LINT: device card no longer takes a count.
2004-07-14 17:50:08 +00:00
Warner Losh
4b5239229c
oldcard's card device no longer requires a count
2004-07-13 16:11:34 +00:00
Yoshihiro Takahashi
64c232e672
Merged from recent fdc driver changes.
...
Make a separate function to check FDD type.
2004-07-13 13:14:37 +00:00
Yoshihiro Takahashi
61e878c58c
MFi386: revision 1.213.
...
Fix miss merging in previous change.
2004-07-13 12:58:36 +00:00
David Xu
53dbf30349
Add ptrace_clear_single_step(), alpha already has it for years, the function
...
will be used by ptrace to clear a thread's single step state.
2004-07-13 07:22:56 +00:00
Poul-Henning Kamp
911dbd84c7
Introduce ttygone() which indicates that the hardware is detached.
...
Move dtrwait logic to the generic TTY level.
2004-07-11 15:18:39 +00:00
Yoshihiro Takahashi
167b6b11dd
MFi386: revision 1.212.
2004-07-11 13:46:10 +00:00
Yoshihiro Takahashi
fac5bedd49
MFi386: revision 1.406
2004-07-11 13:45:39 +00:00
Marcel Moolenaar
153af0fa47
MFi386: Update for the KDB framework:
...
o Implement makectx().
o Call kdb_enter() instead of Debugger().
o Remove implementation of Debugger().
2004-07-10 23:04:42 +00:00
Marcel Moolenaar
6af8e47df7
Update for the KDB framework. Sanitize the alpha console code now that
...
it's in the way even more. Basicly: remove all alpha specific console
support from gfb(4), sio(4) and syscons(4). Rewrite the alpha console
initialization to be identical to all other platforms. In a nutshell:
call cninit().
The platform specific code now only sets or clears RB_SERIAL and thus
automaticly causes the right console to be selected.
sio.c:
o Replace the remote GDB hacks and use the GDB debug port interface
instead.
o Make debugging code conditional upon KDB instead of DDB.
o Call kdb_alt_break() instead of db_alt_break().
o Call kdb_enter() instead of breakpoint().
o Remove the ugly compatibility of using the console as the debug
port.
2004-07-10 22:29:41 +00:00
Yoshihiro Takahashi
d5103548b4
- Merged from sys/dev/fdc/fdc.c revision 1.275.
...
- Break out the cbus front end from fd.c.
- Remove the pccard support because it was broken.
2004-07-08 13:56:17 +00:00
Yoshihiro Takahashi
71ca36da63
MFi386: revision 1.16.
2004-07-08 13:48:49 +00:00
Yoshihiro Takahashi
ccac00d33e
Remove obsolete defines.
2004-07-08 13:47:56 +00:00
Yoshihiro Takahashi
b722c4d937
MFi386: revision 1.1164.
2004-07-08 13:47:01 +00:00
Yoshihiro Takahashi
6f5e06c605
MFi386: revision 1.1163
2004-07-01 09:34:15 +00:00
Yoshihiro Takahashi
b9d41c7aae
Merged from sys/dev/sio/sio.c revision 1.446.
2004-07-01 09:32:32 +00:00
John Baldwin
3df6c4de7e
- Shorten the names for the TTY related swi interrupt handlers as the
...
'tty:' prefix is largely redundant.
- Fix the priority of the low-priority TTY SWIs that are hung off of the
softclock thread.
Submitted by: bde (2)
2004-06-28 16:17:11 +00:00
Yoshihiro Takahashi
3fdb25139d
Merged from sys/dev/sio/sio.c revision 1.444.
2004-06-28 13:28:20 +00:00
Poul-Henning Kamp
cb9ea5f4cb
Pick the hotchar out of the tty structure instead of caching private
...
copies.
No current line disciplines have a dynamically changing hotchar, and
expecting to receive anything sensible during a change in ldisc is
insane so no locking of the hotchar field is necessary.
2004-06-26 09:20:07 +00:00
Yoshihiro Takahashi
dcfafc520f
Merged from sys/dev/sio/sio.c revision 1.442.
...
(Use generic support for modemcontrol and BREAK ioctls.)
2004-06-26 04:00:46 +00:00
Poul-Henning Kamp
fdf5c3da04
Remove the TIOCDCDTIMESTAMP option.
...
The RFC-2783 PPS-API (<sys/timepps.h>) provides better and more
configurable service.
2004-06-22 20:32:17 +00:00
Yoshihiro Takahashi
2ed7f2ea6d
Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.
2004-06-22 12:12:10 +00:00
Yoshihiro Takahashi
a9711ba5d1
MFi386: revision 1.592.
2004-06-22 12:11:20 +00:00
Yoshihiro Takahashi
dbb1228c8c
MFi386: revision 1.1161
2004-06-16 14:21:52 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Warner Losh
28384b60be
Include vm/vm_param.h to pull in KERNBASE now. This should fix the
...
pc98 tinderbox breakage.
2004-06-13 20:17:44 +00:00
Poul-Henning Kamp
1930e303cf
Deorbit COMPAT_SUNOS.
...
We inherited this from the sparc32 port of BSD4.4-Lite1. We have neither
a sparc32 port nor a SunOS4.x compatibility desire these days.
2004-06-11 11:16:26 +00:00
John Baldwin
092a5c4530
Remove atdevbase and replace it's remaining uses with direct references to
...
KERNBASE instead.
2004-06-10 20:31:00 +00:00
Poul-Henning Kamp
bbc8ceda71
Add missing <sys/module.h> includes.
2004-06-07 06:04:27 +00:00
Poul-Henning Kamp
13e84a71e0
Centralize the line discipline optimization determination in a function
...
called ttyldoptim().
Use this function from all the relevant drivers.
I belive no drivers finger linesw[] directly anymore, paving the way for
locking and refcounting.
2004-06-04 21:55:55 +00:00
Poul-Henning Kamp
fe3ec6224a
Manual edits to change linesw[]-frobbing to ttyld_*() calls.
2004-06-04 20:04:52 +00:00
Poul-Henning Kamp
2140d01b27
Machine generated patch which changes linedisc calls from accessing
...
linesw[] directly to using the ttyld...() functions
The ttyld...() functions ar inline so there is no performance hit.
2004-06-04 16:02:56 +00:00
Poul-Henning Kamp
ba9ee6c533
Add missing <sys/module.h> #includes
2004-06-04 13:04:10 +00:00
Poul-Henning Kamp
e451f9b758
Make the remaining serial drivers call ttyioctl() rather than calling
...
the linedisc directly.
2004-06-04 08:02:37 +00:00
Poul-Henning Kamp
186f2b9e04
Add missing <sys/module.h> includes currently relying on nested include
...
in <sys/kernel.h>
2004-06-03 06:10:02 +00:00
Poul-Henning Kamp
be9bd88238
There is no need to explicitly call the stop function. In all likelyhood
...
->l_close() did it and ttyclose certainly will.
2004-06-01 11:57:15 +00:00
Poul-Henning Kamp
a1cda79464
There is no need to explicitly call ttwakeup() and ttwwakeup() after
...
ttyclose() has been called. It's already been done once by ttyclose,
and probably once by the line-discipline too.
2004-06-01 11:38:06 +00:00
Poul-Henning Kamp
bda4474a59
ttyclose() increments t_gen. Remove redundant increments in drivers.
2004-06-01 10:15:56 +00:00
Yoshihiro Takahashi
a83e8010cc
Merged from sys/dev/fdc/fdc.c revision 1.272.
2004-05-30 13:56:06 +00:00
Yoshihiro Takahashi
438bbad62b
MFi386: revision 1.1160.
2004-05-18 11:56:56 +00:00
Yoshihiro Takahashi
413131337a
Mereged from sys/dev/sio/sio.c revision 1.429.
2004-05-06 13:16:45 +00:00
Bruce Evans
987a42cca3
Oops, switch to using the moved cy driver for pc98 too (remove pointers
...
to old files in files.pc98 and "count" parameter in NOTES).
2004-05-03 16:03:41 +00:00
Marcel Moolenaar
d1d9feac7c
Add option GEOM_GPT. This brings the ability to have a large number of
...
partitions on a single disk.
2004-05-02 20:40:19 +00:00
David E. O'Brien
4e744b5e7f
Spell Ethernet correctly.
2004-05-02 18:57:29 +00:00
Yoshihiro Takahashi
4496bb391f
- Remove obsolete examples.
...
- Add a comment about meaning of flags.
- Disable unused defines.
2004-05-01 06:53:38 +00:00
Yoshihiro Takahashi
2c7f49d5d5
Merged from sys/dev/sio/sio.c revision 1.428.
2004-05-01 06:46:10 +00:00
Yoshihiro Takahashi
5f824041cf
Add the commented out rue(4) entry.
2004-04-29 08:33:26 +00:00
Yoshihiro Takahashi
944d807245
Merged from sys/isa/fd.c revision 1.270.
2004-04-25 12:43:44 +00:00
Warner Losh
d9c060ad52
sx was randomly added to NOTES. Instead, place it in the misc
...
hardware in properly sorted order. Fix a little disorder while I'm
here.
Submitted by: bde
2004-04-14 02:25:31 +00:00
Yoshihiro Takahashi
8b29c1a01e
Enable the sx driver on i386 and pc98.
2004-04-13 14:04:25 +00:00
Warner Losh
c3959ad01c
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
Warner Losh
2fcbca0d85
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
Yoshihiro Takahashi
e1ece6d1eb
MFi386: Enable the cy driver.
2004-04-06 14:19:45 +00:00
Yoshihiro Takahashi
708fa777c3
Backout revision 1.31. The twa entries were moved to i386/conf/NOTES.
2004-04-04 04:41:52 +00:00
Yoshihiro Takahashi
a8c6f0ac9c
The twa device and related options are not needed.
2004-04-01 14:23:41 +00:00
Yoshihiro Takahashi
2c08d6bea1
Add a comment about time stamper.
...
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
2004-03-29 12:51:46 +00:00
Yoshihiro Takahashi
279b998b38
- 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
Yoshihiro Takahashi
420eed9af1
MFi386: revision 1.1136.
2004-03-28 12:06:29 +00:00
Yoshihiro Takahashi
94d77589ca
MFi386: revision 1.586.
2004-03-28 12:03:39 +00:00
Nate Lawson
5f96beb9e0
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
Yoshihiro Takahashi
877cbbe8a8
Don't use the pcic polling.
2004-03-16 12:40:11 +00:00
Warner Losh
dc57f07049
Temporarily comment out cy.
...
Remove COMPAT_OLDISA
2004-03-15 10:39:37 +00:00
Warner Losh
91a5625be4
including isa_device.h was historical in this file, remove it
2004-03-15 10:39:01 +00:00
David E. O'Brien
a5b0d49470
Shorten a long comment.
2004-03-15 00:49:40 +00:00
Warner Losh
26b74a3cdb
comment out bs and wd entries in the hints
2004-03-14 23:02:07 +00:00
Yoshihiro Takahashi
eba504ff39
MFi386: Remove the stl and stli drivers.
2004-03-14 09:46:36 +00:00
Yoshihiro Takahashi
4c15fdec71
Restore CDIOCREADAUDIO ioctl.
...
Pointed out by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
2004-03-07 14:16:42 +00:00
Yoshihiro Takahashi
05f0fb092f
Remove '#include <machine/bus_pio.h>'. This is meaningless.
2004-03-07 05:39:38 +00:00
Yoshihiro Takahashi
5743ccb994
Remove unneeded devices.
2004-03-07 05:38:20 +00:00
Yoshihiro Takahashi
b7ac92ac50
MFi386: revisions from 1.1127 to 1.1131.
2004-03-07 04:09:18 +00:00
Yoshihiro Takahashi
151d92a4e1
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
Poul-Henning Kamp
db42ff97da
Remove unused FDNUMTOUNIT() macro
2004-02-29 10:21:40 +00:00
Yoshihiro Takahashi
6cab36d49d
Merged from sys/isa/fd.c revision 1.266.
2004-02-26 14:59:10 +00:00
Poul-Henning Kamp
dc08ffec87
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
Poul-Henning Kamp
8e1f1df080
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
Poul-Henning Kamp
c9c7976f7f
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
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