|
From: David G. <dav...@po...> - 2026-06-04 20:09:19
|
On 6/4/26 12:51 PM, dave penkler wrote:
> Hi David,
> I built a 7.0.11 kernel and installed the 4.3.7 modules and
> successfully tested it with the sequence below.
> My conclusion at this point is that your system is not routing the irq's
> correctly.
> What does
> cat /proc/interrupts | grep ni-pci
> show when you let the system route the irq's itself.
Thanks so much for your time on my issue! I am lost.
$ cat /proc/interrupts | grep ni-pci
20: 0 0 0 0 2955 0
IO-APIC 20-fasteoi ohci_hcd:usb5, ni-pci-gpib
It is shared with my keyboard. I have moved the keyboard and mouse to
different USB ports and now I can confirm that this doesn't increment
$ watch -n 0.1 'cat /proc/interrupts | grep "20:"'
Regarding
/usr/src/linux-gpib-4.3.7/drivers/gpib/tnt4882/tnt4882_gpib.c:63 for
tnt_paged_readb(), would this be more correct or am I just thinking this
all wrong?
static inline unsigned int tnt_paged_readb(struct tnt4882_priv *priv,
unsigned long offset) {
unsigned int val;
// 1. Write the page-in command
iowrite8(AUX_PAGEIN, priv->nec7210_priv.mmiobase + AUXMR *
priv->nec7210_priv.offset);
// 2. Force full synchronization: Write MUST complete before Read
starts
mb();
// 3. Read the data from the newly established page
val = ioread8(priv->nec7210_priv.mmiobase + offset);
// 4. Force Read completion before the function returns or next
instructions run
rmb();
return val;
}
|