Re: HELP PLEASE: i2c in interrupt?
From: Abraham van der Merwe (abz_at_frogfoot.net)
Date: 09/17/03
- Previous message: Mario 'BitKoenig' Holbe: "2.4.22: /proc/ide/ide?/hd?/capacity twice per directory"
- In reply to: Richard B. Johnson: "Re: HELP PLEASE: i2c in interrupt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 17 Sep 2003 21:15:34 +0200 To: "Richard B. Johnson" <root@chaos.analogic.com>
Hi Richard >@2003.09.17_20:45:41_+0200
> Why do you need something different? Why do you have something
> on the timer queue in the first place? You don't need anything
> like that. Serial I/O is serial I/O. You handle the IIC bus
> serial I/O just like RS-232C or keyboard input. You get an
> interrupt, the ISR gets the data and puts it in a buffer.
See, that's my problem. The ISR can't put it in a buffer, because in order
to read the data it has to sleep. The reason for that as I explained it is
that it has to read the data from a chip on an I2C bus.
-- Regards Abraham Heller's Law: The first myth of management is that it exists. Johnson's Corollary: Nobody really knows what is going on anywhere within the organization. ___________________________________________________ Abraham vd Merwe - Frogfoot Networks CC 9 Kinnaird Court, 33 Main Street, Newlands, 7700 Phone: +27 21 686 1665 Cell: +27 82 565 4451 Http: http://www.frogfoot.net/ Email: abz@frogfoot.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Mario 'BitKoenig' Holbe: "2.4.22: /proc/ide/ide?/hd?/capacity twice per directory"
- In reply to: Richard B. Johnson: "Re: HELP PLEASE: i2c in interrupt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|