Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/planix-v0/sys/src/9/rb/notes/pci.intr – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
	/*
2
	 * much of this is inspired by the freebsd driver,
3
	 * but is hard to understand due to lack of documentation.
4
	 *
5
	 * only pci irqs 0-2 are valid.
6
	 * 0 seems to yield INTR6.
7
	 * pci irqs 1-2 yield spurious ether intrs.
8
	 */
9
	i = 0;
10
	*Pciintrsts = 0;
11
	*Pciintrmask = 1 << i;
12
	junk = *Pciintrmask;		/* flush the write */