Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/9/rb/notes/pci.intr

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


	/*
	 * much of this is inspired by the freebsd driver,
	 * but is hard to understand due to lack of documentation.
	 *
	 * only pci irqs 0-2 are valid.
	 * 0 seems to yield INTR6.
	 * pci irqs 1-2 yield spurious ether intrs.
	 */
	i = 0;
	*Pciintrsts = 0;
	*Pciintrmask = 1 << i;
	junk = *Pciintrmask;		/* flush the write */

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].