Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 1997 12:30:15 -0800
From:      John-Mark Gurney <gurney_j@efn.org>
To:        John Kelly <jak@cetlink.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: 650 UART, SIO driver, 8259 PIC
Message-ID:  <19971130123015.27690@hydrogen.nike.efn.org>
In-Reply-To: <3482bd16.18797696@mail.cetlink.net>; from John Kelly on Sun, Nov 30, 1997 at 08:03:33PM %2B0000
References:  <199711292017.HAA16179@godzilla.zeta.org.au> <348095b5.441871@mail.cetlink.net> <19971130002133.00410@hydrogen.nike.efn.org> <3482bd16.18797696@mail.cetlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
John Kelly scribbled this message on Nov 30:
> On Sun, 30 Nov 1997 00:21:33 -0800, John-Mark Gurney
> <gurney_j@efn.org> wrote:
> 
> >I've thought about upgrading sio so that it would understand the
> >existance of it, but there were a number of problems...  the status
> >register is stored in the scratch register of the fourth port of the
> >board...  also, on the AST/4 the port to write to, to clear ALL the
> >interrupts
> 
> When you say "to clear ALL the interrupts," are you talking about an
> AST-style control register?  My board only has a status register, so I
> don't understand the notion of clearing interrupts by writing to a
> port.  Can you explain the use of an AST-style control register?

yes... the board that I have is an AST/4 compatible board...  and the
Shared Interrupt Clear Register (sicr) is used to clear the interrupt
when you have more than one board sitting on the interrupt (these boards
are documented to work if both 4port boards are on the same interrupts)..
this will force both boards to ground out, and then the interrupt
controller will be able to see the next edge...

also, the port you write to is suppose to be determined by the irq that
the boards are on, but the boards I have will listen to all the ports
and clear the interrupt if you have the boards configured to share
interrupts..

then they also have the status register that your familar with.. a simple
register that sets the bit of the ports that have an interrupt pending...
this is mapped to the scratch register of the fourth port...

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971130123015.27690>