Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 11:10:23 +0100
From:      Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: cvs commit: src/sys/net if.c
Message-ID:  <1096279822.3329.31.camel@buffy.york.ac.uk>
In-Reply-To: <20040927093127.GH83620@cirb503493.alcatel.com.au>
References:  <20040924094950.N39925@pooker.samsco.org> <20040925.225150.20525280.imp@bsdimp.com> <20040926162333.GC1164@green.homeunix.org> <200409271243.37300.doconnor@gsoft.com.au> <20040927093127.GH83620@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2004-09-27 at 10:31, Peter Jeremy wrote:
> On Mon, 2004-Sep-27 12:43:29 +0930, Daniel O'Connor wrote:
> >Hmm, MS have a circuit diagram ->
> >http://www.microsoft.com/whdc/system/CEC/dmpsw.mspx
> 
> I bumped into that as well.  The innards of the PAL aren't documented
> anywhere that I could see and there seems to be quite a lot of logic
> when the only inputs are the PCI clock and the NMI switch.  (Bloated
> design and undocumented internals - sounds familiar :-).
> 
> >Pin 42 is #SERR and the other side of it in ground.
> 
> Does anyone with knowledge of the PCI spec know if just shorting #SERR
> to ground will work?  (Assuming that the BIOS/chipset maps #SERR to NMI).

It is possible. The PCI 2.2 spec (section 3.7.4.2) says that it should
be asserted for a *single* clock cycle, then tri-stated. However, it
also suggests that all that is actually necessary is for it to be
sampled as being de-asserted for two successive rising clock edges after
an assertion for an NMI to actually be triggered.

So it depends on how strictly they enforce the need for assertion to
last a "single clock cycle".

Regardless of anything else, I wouldn't like to just short SERR# to
ground with a screwdriver as used to be possible in the Good Ol' ISA
Days... A bit of debounce logic (which I suspect is mainly what the PAL
is there to achieve in the Microsoft design) would be necessary to
prevent multiple NMI's from being sent.

Gavin



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