Re: [PATCH][RFC] sort out CLOCK_TICK_RATE usage [1/3]

From: Thorsten Kranzkowski
Date: Tue Apr 13 2004 - 12:12:08 EST


On Tue, Apr 13, 2004 at 01:04:31PM +0900, Miles Bader wrote:
> Thorsten Kranzkowski <dl8bcu@xxxxxxxxx> writes:
> > Since INPUT_PCSPKR seems to be available on all archs, every arch must
> > have some idea of PI[CT]_TICK_RATE, no?
>
> What are you talking about? I see no INPUT_PCSPKR defined on my arch

drivers/inkut/Kconfig:
menu "Input device support"

config INPUT
tristate "Input devices (needed for keyboard, mouse, ...)" if EMBEDDED
default y
[...]

source "drivers/input/misc/Kconfig"

drivers/input/misc/Kconfig:
config INPUT_MISC
bool "Misc"
depends on INPUT
[...]
config INPUT_PCSPKR
tristate "PC Speaker support"
depends on INPUT && INPUT_MISC


I'm by no means a Kconfig expert, but I read this as there's nothing
that prevents you to select INPUT_PCSPKR on every architecture.

I don't know your architecture, maybe it doesn't have a system speaker.

> anywhere, and don't even know what an 8253 is... [so it would be damn
> silly to have <asm/8253pit.h> as a required header!]

Ok, I won't create one, then. (just to be shure: asm-v850, right?)

> Don't assume everything is like a PC.

Hell, no! I actually like my Alphas! ;)

Bye,
Thorsten

--
| Thorsten Kranzkowski Internet: dl8bcu@xxxxxxxxx |
| Mobile: ++49 170 1876134 Snail: Kiebitzstr. 14, 49324 Melle, Germany |
| Ampr: dl8bcu@db0lj.#rpl.deu.eu, dl8bcu@xxxxxxxxxxxxxxxxxxxxxx [44.130.8.19] |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/