plan 9 kernel history: overview | file list | diff list

1997/1011/pc/pci.c (diff list | history)

1997/1011/sys/src/9/pc/pci.c:29,341997/1101/sys/src/9/pc/pci.c:29,35 (short | long | prev | next)
1997/0327    
static int pcimaxdno; 
static Pcidev* pciroot; 
1997/1011    
static Pcidev* pcilist; 
1997/1101    
static Pcidev* pcitail; 
1995/0725    
 
1997/0327    
static int pcicfgrw8(int, int, int, int); 
static int pcicfgrw16(int, int, int, int); 
1997/1011/sys/src/9/pc/pci.c:62,691997/1101/sys/src/9/pc/pci.c:63,74
1997/0327    
			p->tbdf = tbdf; 
			p->vid = l; 
			p->did = l>>16; 
1997/1011    
			p->list = pcilist; 
			pcilist = p; 
1997/1101    
 
			if(pcilist != nil) 
				pcitail->list = p; 
			else 
				pcilist = p; 
			pcitail = p; 
1997/1011    
 
1997/0327    
			p->intl = pcicfgrw8(tbdf, PciINTL, 0, 1); 
1997/1011    
			p->ccru = pcicfgrw16(tbdf, PciCCRu, 0, 1); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)