| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
I thank all developers and contributors for pc98.
Relnotes: yes
Notes:
svn path=/head/; revision=312910
|
| |
|
|
|
|
|
|
|
| |
using event handlers. A different version was
Submitted by: Taku YAMAMOTO (taku at tackymt dot homeip dot net)
Notes:
svn path=/head/; revision=221708
|
| |
|
|
| |
Notes:
svn path=/head/; revision=208563
|
| |
|
|
|
|
|
|
| |
- If there are no syscons hints at all, assume there is a single sc0 device
anyway. The console probe will still fail unless a VGA adapter is found.
Notes:
svn path=/head/; revision=189445
|
| |
|
|
|
|
|
| |
changing.
Notes:
svn path=/head/; revision=178007
|
| |
|
|
|
|
|
|
|
|
|
| |
The timer_spkr_*() functions take care of the enabling/disabling
of the speaker.
Test on the existence of timer_spkr_*() functions, rather than
architectures.
Notes:
svn path=/head/; revision=177650
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
these days, so de-generalize the acquire_timer/release_timer api
to just deal with speakers.
The new (optional) MD functions are:
timer_spkr_acquire()
timer_spkr_release()
and
timer_spkr_setfreq()
the last of which configures the timer to generate a tone of a given
frequency, in Hz instead of 1/1193182th of seconds.
Drop entirely timer2 on pc98, it is not used anywhere at all.
Move sysbeep() to kern/tty_cons.c and use the timer_spkr*() if
they exist, and do nothing otherwise.
Remove prototypes and empty acquire-/release-timer() and sysbeep()
functions from the non-beeping archs.
This eliminate the need for the speaker driver to know about
i8254frequency at all. In theory this makes the speaker driver MI,
contingent on the timer_spkr_*() functions existing but the driver
does not know this yet and still attaches to the ISA bus.
Syscons is more tricky, in one function, sc_tone(), it knows the hz
and things are just fine.
In the other function, sc_bell() it seems to get the period from
the KDMKTONE ioctl in terms if 1/1193182th second, so we hardcode
the 1193182 and leave it at that. It's probably not important.
Change a few other sysbeep() uses which obviously knew that the
argument was in terms of i8254 frequency, and leave alone those
that look like people thought sysbeep() took frequency in hertz.
This eliminates the knowledge of i8254_freq from all but the actual
clock.c code and the prof_machdep.c on amd64 and i386, where I think
it would be smart to ask for help from the timecounters anyway [TBD].
Notes:
svn path=/head/; revision=177642
|
| |
|
|
|
|
|
|
| |
Rename timer0_real_max_count to i8254_real_max_count and make it static.
Rename timer_freq to i8254_freq and make it a loader tunable.
Notes:
svn path=/head/; revision=177631
|
| |
|
|
| |
Notes:
svn path=/head/; revision=167085
|
| |
|
|
| |
Notes:
svn path=/head/; revision=158359
|
| |
|
|
|
|
|
|
|
|
|
|
| |
i8253reg.h, and add some defines to control a speaker.
- Move PPI related defines from i386/isa/spkr.c into ppireg.h and use them.
- Move IO_{PPI,TIMER} defines into ppireg.h and timerreg.h respectively.
- Use isa/isareg.h rather than <arch>/isa/isa.h.
Tested on: i386, pc98
Notes:
svn path=/head/; revision=146211
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Move MD files into <arch>/<arch>.
- Move bus dependent files into <arch>/<bus>.
Rename some files to more suitable names.
Repo-copied by: peter
Discussed with: imp
Notes:
svn path=/head/; revision=146049
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121801
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
disabled.
- Change the apm driver to match the acpi driver's behavior by checking to
see if the device is disabled in the identify routine instead of in the
probe routine. This way if the device is disabled it is never created.
Note that a few places (ips(4), Alpha SMP) used "disable" instead of
"disabled" for their hint names, and these hints must be changed to
"disabled". If this is a big problem, resource_disabled() can always be
changed to honor both names.
Notes:
svn path=/head/; revision=117167
|
| |
|
|
| |
Notes:
svn path=/head/; revision=109303
|
| |
|
|
| |
Notes:
svn path=/head/; revision=105712
|
| |
|
|
| |
Notes:
svn path=/head/; revision=105320
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103379
|
| |
|
|
|
|
|
|
|
|
|
| |
sys/dev/syscons/scvgarndr.c revision 1.11
sys/dev/syscons/scvtb.c revision 1.8
sys/dev/syscons/syscons.c revisions 1.361, 1.363, 1.364, 1.365 and 1.366
sys/isa/atkbd_isa.c revision 1.9
sys/isa/syscons_isa.c revision 1.17
Notes:
svn path=/head/; revision=79702
|
| |
|
|
| |
Notes:
svn path=/head/; revision=78812
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67370
|
| |
|
|
|
|
|
| |
Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
Notes:
svn path=/head/; revision=64394
|
| |
|
|
|
|
|
|
|
|
|
|
| |
sys/conf/files.i386 1.321
sys/dev/syscons/syscons.c 1.343
sys/i386/isa/spkr.c 1.46
sys/isa/fd.c 1.183 and 1.185
sys/isa/syscons_isa.c 1.14
sys/isa/vga_isa.c 1.18
Notes:
svn path=/head/; revision=62952
|
| |
|
|
| |
Notes:
svn path=/head/; revision=61742
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
File Revision
sys/conf/files.i386 1.303 and 1.304
sys/dev/kbd/atkbd.c 1.23
sys/dev/syscons/scterm-sc.c 1.2
sys/dev/syscons/scvgarndr.c 1.5
sys/dev/syscons/scvtb.c 1.5
sys/dev/syscons/syscons.c 1.335
sys/isa/syscons_isa.c 1.11
sys/isa/vga_isa.c 1.17
Notes:
svn path=/head/; revision=58779
|
| |
|
|
|
|
|
| |
Submitted by: yokota
Notes:
svn path=/head/; revision=56337
|
| |
|
|
|
|
|
| |
Submitted by: dfr
Notes:
svn path=/head/; revision=51056
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
|
|
|
| |
may not compile, I can't test it.
Notes:
svn path=/head/; revision=49558
|
| |
|
|
|
|
|
| |
Pointed out by: yokota
Notes:
svn path=/head/; revision=48516
|
| |
|
|
|
|
|
|
|
| |
revisions 1.6 and 1.308, respectively.
Pointed-out by: yokota
Notes:
svn path=/head/; revision=48188
|
|
|
Submitted by: yokota
Notes:
svn path=/head/; revision=48187
|