AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070627110600.3653ed7c@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	13804	BB375AF679D4A34E9CA8DFA650E2B04E0451D6F2@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 27 Jun 2007 11:06:42 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Brian Stark" <brian.stark@onstor.com>
Subject: Re: compac flash LEDs
Message-ID: <20070627110642.38e445ab@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0451D6F2@onstor-exch02.onstor.net>
References: <20070626144241.58dc4fcc@ripper.onstor.net>
 <BB375AF679D4A34E9CA8DFA650E2B04E0451D575@onstor-exch02.onstor.net>
 <20070626164941.0455efcc@ripper.onstor.net>
 <BB375AF679D4A34E9CA8DFA650E2B04E0451D6F2@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 26 Jun 2007 20:28:35 -0700 "Brian Stark"
<brian.stark@onstor.com> wrote:

> My comments below...
> 
>  
> 
> > -----Original Message-----
> > From: Andy Sharp 
> > Sent: Tuesday, June 26, 2007 4:50 PM
> > To: Warren Gale
> > Cc: Brian Stark
> > Subject: Re: compac flash LEDs
> > 
> > On Tue, 26 Jun 2007 15:35:09 -0700 "Warren Gale"
> > <warren.gale@onstor.com> wrote:
> > 
> > > Andy,
> > >    See inline  < >
> > > Warren
> > > 
> > > -----Original Message-----
> > > From: Andy Sharp
> > > Sent: Tuesday, June 26, 2007 2:43 PM
> > > To: Warren Gale
> > > Cc: Brian Stark
> > > Subject: compac flash LEDs
> > > 
> > > As opposed to compact flash LEDs.
> > > 
> > > Q1:
> > > 
> > > Anyway, just curious who/what handles the LEDs by the compact
> > > flash. Does the PROM do that? 
> > > 
> > > <PROM does NOT do anything with these LED's>
> > > 
> > >  Could the OS do that? 
> > > 
> > > <U bet, all yours>
> > 
> > that's funny
> > now tell me how to program them, you bastaaaaaaaaaaaaards!
> 
> Ah, LEDs are my favorite topic.  Chassisd controls the CF LEDs, and
> the definition is as follows:


Say no more, you have made me a happy man.  Since chassisd has been
ported already, the LEDs are "done" ~:^)

> > > 
> > > Q2:
> > > 
> > > Is the pd6729 interrupt(s) edge or level?  Are they any 
> > different from 
> > > the natsemi interrupts?  We don't use them for OpenBSD, so I'm 
> > > breaking new ground here.
> > > 
> > > < U mean the Intel pd6729 and the TI1520?
> > >   PROM does very little with this and I don't know off hand.
> > > Sorry>
> > 
> > No, I mean the Cirrus/Intel pd6729 and the Natsemi dp83816 
> > ethernet controllers, that also have interrupts on them.
> >
> 
> With the exception of the NMI, all interrupts to the RM9K are level
> sensitive.
> 
> Also, I am almost positive that the Natsemi interrupts are used in
> OpenBSD.  I specifically added these to the RM9K to INT6_L and INT7_L
> on the Rev 2 Bobcats.  The Rev 1 Bobcats were retired because they
> didn't have this interrupt support.

I'm sure the natsemi ints are used in BSD, it's the Cirrus ints that
aren't used.  I just wanted to know if the Cirrus interrupts were
level interrupts like the natsemi.  Now I know so that's useful
information.  But of course, I want to use interrupts with the CF so
Linux doesn't have to poll. What happens is, I enable the interrupts,
and it just starts interrupting continuously.  I can't seem to "shut
them off." Reading the CSC register doesn't deactivate them. There are
no events but it just continues to interrupt anyway. After a 1 million
unhandled interrupts, the kernel deactivates irq 10 and I'm stuck. Any
thoughts?
