Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 439 → Rev 440

/shark/trunk/drivers/newpci/probe.c
9,7 → 9,7
#include <linux/slab.h>
#include <linux/module.h>
 
#undef DEBUG
#define DEBUG
 
#ifdef DEBUG
#define DBG(x...) printk(x)
/shark/trunk/drivers/newpci/direct.c
243,7 → 243,7
return works;
}
 
static int __init pci_direct_init(void)
int __init pci_direct_init(void)
{
struct resource *region, *region2;
 
/shark/trunk/drivers/newpci/pci.c
1,5 → 1,5
/*
* $Id: pci.c,v 1.3 2004-01-29 13:23:34 giacomo Exp $
* $Id: pci.c,v 1.4 2004-01-30 18:30:24 giacomo Exp $
*
* PCI Bus Services, see include/linux/pci.h for further explanation.
*
18,7 → 18,7
#include <linux/spinlock.h>
#include <asm/dma.h> /* isa_dma_bridge_buggy */
 
#undef DEBUG
#define DEBUG
 
#ifdef DEBUG
#define DBG(x...) printk(x)
723,6 → 723,11
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
pci_fixup_device(PCI_FIXUP_FINAL, dev);
}
 
dev = pci_find_class(PCI_CLASS_NETWORK_ETHERNET,NULL);
 
printk("Find %x\n",(int)(dev));
 
return 0;
}
 
/shark/trunk/drivers/newpci/quirks.c
1,5 → 1,5
/*
* $Id: quirks.c,v 1.2 2004-01-29 09:20:41 giacomo Exp $
* $Id: quirks.c,v 1.3 2004-01-30 18:30:25 giacomo Exp $
*
* This file contains work-arounds for many known PCI hardware
* bugs. Devices present only on certain architectures (host
21,7 → 21,7
#include <linux/init.h>
#include <linux/delay.h>
 
#undef DEBUG
#define DEBUG
 
/* Deal with broken BIOS'es that neglect to enable passive release,
which can cause problems in combination with the 82441FX/PPro MTRRs */
/shark/trunk/drivers/newpci/pcbios.c
71,7 → 71,7
unsigned long entry; /* %edx */
unsigned long flags;
 
local_irq_save(flags);
local_irq_save(flags);
__asm__("lcall *(%%edi); cld"
: "=a" (return_code),
"=b" (address),
80,8 → 80,10
: "0" (service),
"1" (PCIBIOS_PCI_BIOS_PRESENT),
"D" (&bios32_indirect));
local_irq_restore(flags);
local_irq_restore(flags);
 
printk("Breakpoint\n");
 
switch (return_code) {
case 0:
return address + entry;
98,7 → 100,7
static struct {
unsigned long address;
unsigned short segment;
} pci_indirect = { 0, __KERNEL_CS };
} pci_indirect = { 0, 0 /*__KERNEL_CS*/ };
 
static int pci_bios_present;
 
/shark/trunk/drivers/newpci/common.c
137,7 → 137,7
 
extern u8 pci_cache_line_size;
 
static int __init pcibios_init(void)
int __init pcibios_init(void)
{
 
if (!raw_pci_ops) {
/shark/trunk/drivers/newpci/makefile
13,7 → 13,7
OBJS = access.o bus.o names.o pci.o pci-driver.o\
pool.o probe.o quirks.o remove.o search.o setup-res.o\
setup-irq.o setup-bus.o syscall.o i386.o common.o\
fixup.o irq.o legacy.o pcbios.o
fixup.o irq.o legacy.o pcbios.o direct.o
 
OTHERINCL += -I$(BASE)/drivers/linuxc26/include
 
/shark/trunk/drivers/newpci/remove.c
4,7 → 4,7
#include <linux/module.h>
#include "pci.h"
 
#undef DEBUG
#define DEBUG
 
#ifdef DEBUG
#define DBG(x...) printk(x)
/shark/trunk/drivers/linuxc26/include/asm/page.h
117,7 → 117,7
#ifdef __ASSEMBLY__
#define __PAGE_OFFSET (0xC0000000)
#else
#define __PAGE_OFFSET (0xC0000000UL)
#define __PAGE_OFFSET (0x00000000UL)
#endif