jhb
542b2a8123
Merge from i386:
...
- Add a i8254_pending variable to save some indirections in clkintr().
- Don't bother setting up an IRQ0 handler if we are using the lapic timer.
2005-03-24 21:36:15 +00:00
imp
0794b3a70d
Define IRQ_NPX for the irq used for the npx. Define macro for a full
...
reset of of npx, as appropriate for the platform.
2005-03-16 20:44:19 +00:00
nyan
dfea28641b
MFi386: revision 1.217.
2005-03-12 10:30:06 +00:00
jhb
35e48efc22
- Remove the BURN_BRIDGES marked support for hooking into the ISA timer 0
...
interrupt.
- Remove the timer_func variable as it now has a static value of
hardclock() and is only used in one place.
Axe borrowed from: phk
2005-03-09 15:33:58 +00:00
phk
6b8f675295
Use dynamic major number allocation.
2005-02-27 22:16:30 +00:00
nyan
31fed443dd
Merged from sys/dev/sio/sio.c revision 1.458.
2005-02-11 03:41:34 +00:00
jhb
41cf4e19b2
Fix pc98 compile: merge in changes to use the local APIC timer. Also, add
...
missing initialization of i8254_intsrc while I am here.
2005-02-09 22:48:22 +00:00
nyan
ea8ee72b74
Remove unused defines.
2005-02-07 12:23:07 +00:00
phk
275ba1001d
Add missing isa_dmatc() function.
...
This may or may not be correct, Only the pcii driver would notice and
it doesn't support PC98 yet.
2005-02-07 08:19:53 +00:00
nyan
64be87543b
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
imp
1a23cb536c
In my last commit, I'd assumed that LINE30 was always defined. It
...
turns out that LINE30_ROW was always defined, not LINE30. I confused
this for LINE30 and did the unifdef -DLINE30 using that mistaken
belief. This corrects that problem.
Submitted by: nyan-san
2005-01-09 22:17:39 +00:00
imp
c967543ab7
LINE30 is always defined now, so unifdef -DLINE30 for clarity.
2005-01-08 22:29:53 +00:00
imp
496874ad30
Merge module.h into 30line.h and remove it. It lacked a
...
copyright/license header and was only used by 30line.h. It appears
that the copyright/license in 30line.h covers the old contents
module.h anyway, so this simplifies things a little while cleaning up
one obscure potential license confusion...
Revired by: nyan-san
2005-01-08 22:29:23 +00:00
imp
f0bf889d0d
/* -> /*- for license, minor formatting changes
2005-01-07 02:29:27 +00:00
phk
55f52615a8
Fix comment.
2004-12-22 17:32:27 +00:00
nyan
268ec4a834
Add FL_MFM flag to the fd_native_types structure.
...
Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
2004-11-09 14:08:21 +00:00
phk
a045a7ba29
Use bioq_takefirst()
2004-10-22 08:12:49 +00:00
nyan
30582f9b3d
Merged from sys/dev/sio/sio.c (Use generic tty code).
2004-10-15 08:22:37 +00:00
njl
1c1fb6558d
Remove unused variable.
2004-10-15 04:59:21 +00:00
njl
48e4157e91
Remove local hacks to set flags now that the device probe does this for us.
...
Tested on every device except sio_pci and the pc98 fd.c. Perhaps something
similar should be done for the "disabled" hints also.
MFC after: 2 weeks
2004-10-14 22:21:59 +00:00
phk
55f592519e
Use generic tty code instead of local stuff.
...
NB: device names are now consistent: {cua,tty}d$(port)[.lock,.init]
2004-10-13 08:27:20 +00:00
nyan
3bdfc2d86c
Add more PnP serial cards support.
...
PR: kern/72226
Submitted by: Hirokazu WATANABE <wnabe@par.odn.ne.jp>
2004-10-01 15:58:54 +00:00
nyan
cc32acfd3a
Merged from sys/dev/sio/sio.c: more tty related changes.
2004-09-20 14:01:38 +00:00
phk
e919477712
Use tty->t_sc, ttyalloc() and lock/init termios from struct tty.
2004-09-17 10:59:17 +00:00
phk
fb6323497c
Include <sys/malloc.h> to satisfy new isa_dma stuff.
2004-09-17 10:55:01 +00:00
phk
1795816cf7
Add new a function isa_dma_init() which returns an errno when it fails
...
and which takes a M_WAITOK/M_NOWAIT flag argument.
Add compatibility isa_dmainit() macro which whines loudly if
isa_dma_init() fails.
Problem uncovered by: tegge
2004-09-15 12:09:50 +00:00
nyan
50899074bd
Merged from sys/dev/fdc/fdc.c revision 1.283.
2004-08-22 15:10:53 +00:00
nyan
20fb34d054
Merged from sys/dev/sio/sio.c revision 1.450.
2004-07-24 15:13:42 +00:00
nyan
bd381ddb1f
Merged from the following changes.
...
- sys/dev/fdc/fdc.c revision 1.281
- sys/dev/fdc/fdcvar.h revision 1.3
- sys/dev/fdc/fdc_isa.c revision 1.7
2004-07-17 10:07:19 +00:00
phk
f00200d8a4
Preparation commit for the tty cleanups that will follow in the near
...
future:
rename ttyopen() -> tty_open() and ttyclose() -> tty_close().
We need the ttyopen() and ttyclose() for the new generic cdevsw
functions for tty devices in order to have consistent naming.
2004-07-15 20:47:41 +00:00
nyan
e190a12d82
Move the fdc_alloc_resources function into the bus front end.
2004-07-15 15:00:02 +00:00
nyan
2c6fa2f70b
Merged from recent fdc driver changes.
...
Make a separate function to check FDD type.
2004-07-13 13:14:37 +00:00
nyan
72619ae6d5
MFi386: revision 1.213.
...
Fix miss merging in previous change.
2004-07-13 12:58:36 +00:00
phk
3683e698d2
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
nyan
87af04ca9a
MFi386: revision 1.212.
2004-07-11 13:46:10 +00:00
marcel
6660e9e4c0
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
nyan
ee6a790d11
- 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
nyan
c6183ca7fa
MFi386: revision 1.16.
2004-07-08 13:48:49 +00:00
nyan
8ada288b80
Remove obsolete defines.
2004-07-08 13:47:56 +00:00
nyan
86a740e80c
Merged from sys/dev/sio/sio.c revision 1.446.
2004-07-01 09:32:32 +00:00
jhb
050c6affec
- 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
nyan
b3df34e2f3
Merged from sys/dev/sio/sio.c revision 1.444.
2004-06-28 13:28:20 +00:00
phk
0567d4ef5f
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
nyan
eb4d8613c7
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
phk
ace6a2a6f7
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
nyan
1201cc464b
Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440.
2004-06-22 12:12:10 +00:00
phk
dfd1f7fd50
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
imp
5635176f57
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
phk
86602fc06c
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
phk
f873013198
Add missing <sys/module.h> includes.
2004-06-07 06:04:27 +00:00