All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Jones <pjones@redhat.com>
To: ultralinux@vger.kernel.org
Subject: Am I just crazy...?
Date: Fri, 26 Mar 1999 15:14:10 +0000	[thread overview]
Message-ID: <marc-linux-ultrasparc-92246168210534@msgid-missing> (raw)

Either I'm absolutly nuts (a possibility), or something ain't right in the
PCI stuff on sparc64... Here's why I'm leaning away from me being nuts.

If I look at /proc/pci (yeah, i know, its depricated), I see that a
device, lets pick the IDE controller for this one, Is on Bus 1, device 3,
function 0.  So I go to look at the data there, and I get

[pjones@bart 01]$ od -tx1 -Ax 03.0 
000000 95 10 46 06 05 00 80 02 03 8f 01 01 00 40 00 00
000010 01 00 c0 00 09 00 c0 00 11 00 c0 00 19 00 c0 00
000020 21 00 c0 00 00 00 00 00 00 00 00 00 95 10 46 06
000030 00 00 00 00 00 00 00 00 00 00 00 00 00 01 02 04
000040

That says its on IRQ 4, right?  (I'm actually somewhat unsure that its not
saying IRQ of 02, becuase there appears to be some byte order wierdness
here) 

I also notice that in /proc/interrupts, ide0 (this device) isn't quite
on irq 4 (or am i not byteswapping sanely, and should it be saying 2?)
either way, unless I've missed something, it should be 2 or 4, not...
 
[pjones@bart 02]$ cat /proc/interrupts |grep ide
  3:     881905   ide0

3?

Somebody let me know if I've read something wrong someplace, or if I'm
just nuts (and if I am, I'd like to learn something from this, so give me
a good explaination of why I'm nuts ;)

 -- Peter

I'm not one of those who think Bill Gates is the devel.  I simply
suspect that if Microsoft ever met up with the devel, it wouldn't
need an interpreter.
		-- Nick Petreley

             reply	other threads:[~1999-03-26 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-26 15:14 Peter Jones [this message]
1999-03-26 15:28 ` Am I just crazy...? Jakub Jelinek
1999-03-26 16:06 ` Peter Jones
1999-03-26 21:50 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ultrasparc-92246168210534@msgid-missing \
    --to=pjones@redhat.com \
    --cc=ultralinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.