Commit 11bac8a0 authored by Paul Mackerras's avatar Paul Mackerras

Merge branch 'merge' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into merge

parents e871809c c8d69884
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.28-rc2 # Linux kernel version: 2.6.28-rc4
# Tue Oct 28 08:56:44 2008 # Fri Nov 14 09:54:44 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -500,15 +500,17 @@ CONFIG_BLK_DEV_RAM_SIZE=35000 ...@@ -500,15 +500,17 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
# CONFIG_BLK_DEV_XIP is not set # CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set # CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set # CONFIG_ATA_OVER_ETH is not set
# CONFIG_XILINX_SYSACE is not set CONFIG_XILINX_SYSACE=m
# CONFIG_BLK_DEV_HD is not set # CONFIG_BLK_DEV_HD is not set
CONFIG_MISC_DEVICES=y CONFIG_MISC_DEVICES=y
# CONFIG_PHANTOM is not set # CONFIG_PHANTOM is not set
# CONFIG_EEPROM_93CX6 is not set # CONFIG_EEPROM_93CX6 is not set
# CONFIG_SGI_IOC4 is not set # CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set # CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set # CONFIG_HP_ILO is not set
# CONFIG_C2PORT is not set
CONFIG_HAVE_IDE=y CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set # CONFIG_IDE is not set
...@@ -632,7 +634,13 @@ CONFIG_NETDEV_10000=y ...@@ -632,7 +634,13 @@ CONFIG_NETDEV_10000=y
# #
# Hardware I/O ports # Hardware I/O ports
# #
# CONFIG_SERIO is not set CONFIG_SERIO=m
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_PCIPS2 is not set
# CONFIG_SERIO_LIBPS2 is not set
# CONFIG_SERIO_RAW is not set
CONFIG_SERIO_XILINX_XPS_PS2=m
# CONFIG_GAMEPORT is not set # CONFIG_GAMEPORT is not set
# #
...@@ -660,7 +668,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y ...@@ -660,7 +668,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
# CONFIG_SERIAL_UARTLITE is not set CONFIG_SERIAL_UARTLITE=y
CONFIG_SERIAL_UARTLITE_CONSOLE=y
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set # CONFIG_SERIAL_JSM is not set
...@@ -756,6 +765,11 @@ CONFIG_GPIOLIB=y ...@@ -756,6 +765,11 @@ CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not set # CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set # CONFIG_GPIO_SYSFS is not set
#
# Memory mapped GPIO expanders:
#
CONFIG_GPIO_XILINX=y
# #
# I2C GPIO expanders: # I2C GPIO expanders:
# #
...@@ -776,11 +790,11 @@ CONFIG_GPIOLIB=y ...@@ -776,11 +790,11 @@ CONFIG_GPIOLIB=y
# CONFIG_HWMON is not set # CONFIG_HWMON is not set
CONFIG_THERMAL=y CONFIG_THERMAL=y
# CONFIG_WATCHDOG is not set # CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
# #
# Sonics Silicon Backplane # Sonics Silicon Backplane
# #
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set # CONFIG_SSB is not set
# #
...@@ -792,6 +806,7 @@ CONFIG_SSB_POSSIBLE=y ...@@ -792,6 +806,7 @@ CONFIG_SSB_POSSIBLE=y
# CONFIG_MFD_TMIO is not set # CONFIG_MFD_TMIO is not set
# CONFIG_MFD_WM8400 is not set # CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8350_I2C is not set
# CONFIG_REGULATOR is not set
# #
# Multimedia devices # Multimedia devices
...@@ -816,13 +831,65 @@ CONFIG_SSB_POSSIBLE=y ...@@ -816,13 +831,65 @@ CONFIG_SSB_POSSIBLE=y
# CONFIG_DRM is not set # CONFIG_DRM is not set
# CONFIG_VGASTATE is not set # CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m CONFIG_VIDEO_OUTPUT_CONTROL=m
# CONFIG_FB is not set CONFIG_FB=m
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_XILINX=m
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
# #
# Display device support # Display device support
# #
# CONFIG_DISPLAY_SUPPORT is not set # CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_LOGO is not set
# CONFIG_SOUND is not set # CONFIG_SOUND is not set
CONFIG_USB_SUPPORT=y CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_HCD=y
...@@ -851,6 +918,7 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -851,6 +918,7 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_DMADEVICES is not set # CONFIG_DMADEVICES is not set
# CONFIG_UIO is not set # CONFIG_UIO is not set
# CONFIG_STAGING is not set # CONFIG_STAGING is not set
CONFIG_STAGING_EXCLUDE_BUILD=y
# #
# File systems # File systems
...@@ -1077,10 +1145,12 @@ CONFIG_DEBUG_BUGVERBOSE=y ...@@ -1077,10 +1145,12 @@ CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_FAULT_INJECTION is not set # CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set # CONFIG_LATENCYTOP is not set
CONFIG_SYSCTL_SYSCALL_CHECK=y CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_NOP_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE=y #
# CONFIG_FTRACE is not set # Tracers
#
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_SCHED_TRACER is not set # CONFIG_SCHED_TRACER is not set
# CONFIG_CONTEXT_SWITCH_TRACER is not set # CONFIG_CONTEXT_SWITCH_TRACER is not set
# CONFIG_BOOT_TRACER is not set # CONFIG_BOOT_TRACER is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.28-rc2 # Linux kernel version: 2.6.28-rc4
# Tue Oct 28 09:28:58 2008 # Fri Nov 14 10:06:19 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -506,15 +506,17 @@ CONFIG_BLK_DEV_RAM_SIZE=35000 ...@@ -506,15 +506,17 @@ CONFIG_BLK_DEV_RAM_SIZE=35000
# CONFIG_BLK_DEV_XIP is not set # CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set # CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set # CONFIG_ATA_OVER_ETH is not set
# CONFIG_XILINX_SYSACE is not set CONFIG_XILINX_SYSACE=m
# CONFIG_BLK_DEV_HD is not set # CONFIG_BLK_DEV_HD is not set
CONFIG_MISC_DEVICES=y CONFIG_MISC_DEVICES=y
# CONFIG_PHANTOM is not set # CONFIG_PHANTOM is not set
# CONFIG_EEPROM_93CX6 is not set # CONFIG_EEPROM_93CX6 is not set
# CONFIG_SGI_IOC4 is not set # CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set # CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set # CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set # CONFIG_HP_ILO is not set
# CONFIG_C2PORT is not set
CONFIG_HAVE_IDE=y CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set # CONFIG_IDE is not set
...@@ -680,7 +682,13 @@ CONFIG_NETDEV_10000=y ...@@ -680,7 +682,13 @@ CONFIG_NETDEV_10000=y
# #
# Hardware I/O ports # Hardware I/O ports
# #
# CONFIG_SERIO is not set CONFIG_SERIO=m
# CONFIG_SERIO_I8042 is not set
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_PCIPS2 is not set
# CONFIG_SERIO_LIBPS2 is not set
# CONFIG_SERIO_RAW is not set
CONFIG_SERIO_XILINX_XPS_PS2=m
# CONFIG_GAMEPORT is not set # CONFIG_GAMEPORT is not set
# #
...@@ -708,7 +716,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y ...@@ -708,7 +716,8 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
# #
# Non-8250 serial port support # Non-8250 serial port support
# #
# CONFIG_SERIAL_UARTLITE is not set CONFIG_SERIAL_UARTLITE=y
CONFIG_SERIAL_UARTLITE_CONSOLE=y
CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set # CONFIG_SERIAL_JSM is not set
...@@ -805,6 +814,11 @@ CONFIG_GPIOLIB=y ...@@ -805,6 +814,11 @@ CONFIG_GPIOLIB=y
# CONFIG_DEBUG_GPIO is not set # CONFIG_DEBUG_GPIO is not set
# CONFIG_GPIO_SYSFS is not set # CONFIG_GPIO_SYSFS is not set
#
# Memory mapped GPIO expanders:
#
CONFIG_GPIO_XILINX=y
# #
# I2C GPIO expanders: # I2C GPIO expanders:
# #
...@@ -826,11 +840,11 @@ CONFIG_GPIOLIB=y ...@@ -826,11 +840,11 @@ CONFIG_GPIOLIB=y
# CONFIG_THERMAL is not set # CONFIG_THERMAL is not set
# CONFIG_THERMAL_HWMON is not set # CONFIG_THERMAL_HWMON is not set
# CONFIG_WATCHDOG is not set # CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y
# #
# Sonics Silicon Backplane # Sonics Silicon Backplane
# #
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set # CONFIG_SSB is not set
# #
...@@ -842,6 +856,7 @@ CONFIG_SSB_POSSIBLE=y ...@@ -842,6 +856,7 @@ CONFIG_SSB_POSSIBLE=y
# CONFIG_MFD_TMIO is not set # CONFIG_MFD_TMIO is not set
# CONFIG_MFD_WM8400 is not set # CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM8350_I2C is not set # CONFIG_MFD_WM8350_I2C is not set
# CONFIG_REGULATOR is not set
# #
# Multimedia devices # Multimedia devices
...@@ -866,13 +881,65 @@ CONFIG_SSB_POSSIBLE=y ...@@ -866,13 +881,65 @@ CONFIG_SSB_POSSIBLE=y
# CONFIG_DRM is not set # CONFIG_DRM is not set
# CONFIG_VGASTATE is not set # CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set # CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set CONFIG_FB=m
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_IBM_GXT4500 is not set
CONFIG_FB_XILINX=m
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set # CONFIG_BACKLIGHT_LCD_SUPPORT is not set
# #
# Display device support # Display device support
# #
# CONFIG_DISPLAY_SUPPORT is not set # CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_LOGO is not set
# CONFIG_SOUND is not set # CONFIG_SOUND is not set
CONFIG_USB_SUPPORT=y CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_HCD=y
...@@ -1002,6 +1069,7 @@ CONFIG_USB_STORAGE=m ...@@ -1002,6 +1069,7 @@ CONFIG_USB_STORAGE=m
# CONFIG_DMADEVICES is not set # CONFIG_DMADEVICES is not set
# CONFIG_UIO is not set # CONFIG_UIO is not set
# CONFIG_STAGING is not set # CONFIG_STAGING is not set
CONFIG_STAGING_EXCLUDE_BUILD=y
# #
# File systems # File systems
...@@ -1227,10 +1295,12 @@ CONFIG_DEBUG_BUGVERBOSE=y ...@@ -1227,10 +1295,12 @@ CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_FAULT_INJECTION is not set # CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set # CONFIG_LATENCYTOP is not set
CONFIG_SYSCTL_SYSCALL_CHECK=y CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_NOP_TRACER=y CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE=y #
# CONFIG_FTRACE is not set # Tracers
#
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_SCHED_TRACER is not set # CONFIG_SCHED_TRACER is not set
# CONFIG_CONTEXT_SWITCH_TRACER is not set # CONFIG_CONTEXT_SWITCH_TRACER is not set
# CONFIG_BOOT_TRACER is not set # CONFIG_BOOT_TRACER is not set
......
...@@ -17,23 +17,20 @@ config PPC_BESTCOMM ...@@ -17,23 +17,20 @@ config PPC_BESTCOMM
answer Y or M. Otherwise say N. answer Y or M. Otherwise say N.
config PPC_BESTCOMM_ATA config PPC_BESTCOMM_ATA
tristate "Bestcomm ATA task support" tristate
depends on PPC_BESTCOMM depends on PPC_BESTCOMM
default n
help help
This option enables the support for the ATA task. This option enables the support for the ATA task.
config PPC_BESTCOMM_FEC config PPC_BESTCOMM_FEC
tristate "Bestcomm FEC tasks support" tristate
depends on PPC_BESTCOMM depends on PPC_BESTCOMM
default n
help help
This option enables the support for the FEC tasks. This option enables the support for the FEC tasks.
config PPC_BESTCOMM_GEN_BD config PPC_BESTCOMM_GEN_BD
tristate "Bestcomm GenBD tasks support" tristate
depends on PPC_BESTCOMM depends on PPC_BESTCOMM
default n
help help
This option enables the support for the GenBD tasks. This option enables the support for the GenBD tasks.
...@@ -107,8 +107,8 @@ xilinx_intc_init(struct device_node *np) ...@@ -107,8 +107,8 @@ xilinx_intc_init(struct device_node *np)
} }
regs = ioremap(res.start, 32); regs = ioremap(res.start, 32);
printk(KERN_INFO "Xilinx intc at 0x%08LX mapped to 0x%p\n", printk(KERN_INFO "Xilinx intc at 0x%08llx mapped to 0x%p\n",
res.start, regs); (unsigned long long) res.start, regs);
/* Setup interrupt controller */ /* Setup interrupt controller */
out_be32(regs + XINTC_IER, 0); /* disable all irqs */ out_be32(regs + XINTC_IER, 0); /* disable all irqs */
......
...@@ -194,7 +194,7 @@ struct ace_device { ...@@ -194,7 +194,7 @@ struct ace_device {
int in_irq; int in_irq;
/* Details of hardware device */ /* Details of hardware device */
unsigned long physaddr; resource_size_t physaddr;
void __iomem *baseaddr; void __iomem *baseaddr;
int irq; int irq;
int bus_width; /* 0 := 8 bit; 1 := 16 bit */ int bus_width; /* 0 := 8 bit; 1 := 16 bit */
...@@ -628,8 +628,8 @@ static void ace_fsm_dostate(struct ace_device *ace) ...@@ -628,8 +628,8 @@ static void ace_fsm_dostate(struct ace_device *ace)
/* Okay, it's a data request, set it up for transfer */ /* Okay, it's a data request, set it up for transfer */
dev_dbg(ace->dev, dev_dbg(ace->dev,
"request: sec=%lx hcnt=%lx, ccnt=%x, dir=%i\n", "request: sec=%llx hcnt=%lx, ccnt=%x, dir=%i\n",
req->sector, req->hard_nr_sectors, (unsigned long long) req->sector, req->hard_nr_sectors,
req->current_nr_sectors, rq_data_dir(req)); req->current_nr_sectors, rq_data_dir(req));
ace->req = req; ace->req = req;
...@@ -935,7 +935,8 @@ static int __devinit ace_setup(struct ace_device *ace) ...@@ -935,7 +935,8 @@ static int __devinit ace_setup(struct ace_device *ace)
int rc; int rc;
dev_dbg(ace->dev, "ace_setup(ace=0x%p)\n", ace); dev_dbg(ace->dev, "ace_setup(ace=0x%p)\n", ace);
dev_dbg(ace->dev, "physaddr=0x%lx irq=%i\n", ace->physaddr, ace->irq); dev_dbg(ace->dev, "physaddr=0x%llx irq=%i\n",
(unsigned long long)ace->physaddr, ace->irq);
spin_lock_init(&ace->lock); spin_lock_init(&ace->lock);
init_completion(&ace->id_completion); init_completion(&ace->id_completion);
...@@ -1017,8 +1018,8 @@ static int __devinit ace_setup(struct ace_device *ace) ...@@ -1017,8 +1018,8 @@ static int __devinit ace_setup(struct ace_device *ace)
/* Print the identification */ /* Print the identification */
dev_info(ace->dev, "Xilinx SystemACE revision %i.%i.%i\n", dev_info(ace->dev, "Xilinx SystemACE revision %i.%i.%i\n",
(version >> 12) & 0xf, (version >> 8) & 0x0f, version & 0xff); (version >> 12) & 0xf, (version >> 8) & 0x0f, version & 0xff);
dev_dbg(ace->dev, "physaddr 0x%lx, mapped to 0x%p, irq=%i\n", dev_dbg(ace->dev, "physaddr 0x%llx, mapped to 0x%p, irq=%i\n",
ace->physaddr, ace->baseaddr, ace->irq); (unsigned long long) ace->physaddr, ace->baseaddr, ace->irq);
ace->media_change = 1; ace->media_change = 1;
ace_revalidate_disk(ace->gd); ace_revalidate_disk(ace->gd);
...@@ -1035,8 +1036,8 @@ static int __devinit ace_setup(struct ace_device *ace) ...@@ -1035,8 +1036,8 @@ static int __devinit ace_setup(struct ace_device *ace)
err_blk_initq: err_blk_initq:
iounmap(ace->baseaddr); iounmap(ace->baseaddr);
err_ioremap: err_ioremap:
dev_info(ace->dev, "xsysace: error initializing device at 0x%lx\n", dev_info(ace->dev, "xsysace: error initializing device at 0x%llx\n",
ace->physaddr); (unsigned long long) ace->physaddr);
return -ENOMEM; return -ENOMEM;
} }
...@@ -1059,7 +1060,7 @@ static void __devexit ace_teardown(struct ace_device *ace) ...@@ -1059,7 +1060,7 @@ static void __devexit ace_teardown(struct ace_device *ace)
} }
static int __devinit static int __devinit
ace_alloc(struct device *dev, int id, unsigned long physaddr, ace_alloc(struct device *dev, int id, resource_size_t physaddr,
int irq, int bus_width) int irq, int bus_width)
{ {
struct ace_device *ace; struct ace_device *ace;
...@@ -1119,7 +1120,7 @@ static void __devexit ace_free(struct device *dev) ...@@ -1119,7 +1120,7 @@ static void __devexit ace_free(struct device *dev)
static int __devinit ace_probe(struct platform_device *dev) static int __devinit ace_probe(struct platform_device *dev)
{ {
unsigned long physaddr = 0; resource_size_t physaddr = 0;
int bus_width = ACE_BUS_WIDTH_16; /* FIXME: should not be hard coded */ int bus_width = ACE_BUS_WIDTH_16; /* FIXME: should not be hard coded */
int id = dev->id; int id = dev->id;
int irq = NO_IRQ; int irq = NO_IRQ;
...@@ -1165,7 +1166,7 @@ static int __devinit ...@@ -1165,7 +1166,7 @@ static int __devinit
ace_of_probe(struct of_device *op, const struct of_device_id *match) ace_of_probe(struct of_device *op, const struct of_device_id *match)
{ {
struct resource res; struct resource res;
unsigned long physaddr; resource_size_t physaddr;
const u32 *id; const u32 *id;
int irq, bus_width, rc; int irq, bus_width, rc;
......
...@@ -626,7 +626,7 @@ static int __devinit hwicap_setup(struct device *dev, int id, ...@@ -626,7 +626,7 @@ static int __devinit hwicap_setup(struct device *dev, int id,
if (!request_mem_region(drvdata->mem_start, if (!request_mem_region(drvdata->mem_start,
drvdata->mem_size, DRIVER_NAME)) { drvdata->mem_size, DRIVER_NAME)) {
dev_err(dev, "Couldn't lock memory region at %Lx\n", dev_err(dev, "Couldn't lock memory region at %Lx\n",
regs_res->start); (unsigned long long) regs_res->start);
retval = -EBUSY; retval = -EBUSY;
goto failed1; goto failed1;
} }
...@@ -645,9 +645,10 @@ static int __devinit hwicap_setup(struct device *dev, int id, ...@@ -645,9 +645,10 @@ static int __devinit hwicap_setup(struct device *dev, int id,
mutex_init(&drvdata->sem); mutex_init(&drvdata->sem);
drvdata->is_open = 0; drvdata->is_open = 0;
dev_info(dev, "ioremap %lx to %p with size %Lx\n", dev_info(dev, "ioremap %llx to %p with size %llx\n",
(unsigned long int)drvdata->mem_start, (unsigned long long) drvdata->mem_start,
drvdata->base_address, drvdata->mem_size); drvdata->base_address,
(unsigned long long) drvdata->mem_size);
cdev_init(&drvdata->cdev, &hwicap_fops); cdev_init(&drvdata->cdev, &hwicap_fops);
drvdata->cdev.owner = THIS_MODULE; drvdata->cdev.owner = THIS_MODULE;
......
...@@ -1825,9 +1825,10 @@ config FEC2 ...@@ -1825,9 +1825,10 @@ config FEC2
config FEC_MPC52xx config FEC_MPC52xx
tristate "MPC52xx FEC driver" tristate "MPC52xx FEC driver"
depends on PPC_MPC52xx && PPC_BESTCOMM_FEC depends on PPC_MPC52xx && PPC_BESTCOMM
select CRC32 select CRC32
select PHYLIB select PHYLIB
select PPC_BESTCOMM_FEC
---help--- ---help---
This option enables support for the MPC5200's on-chip This option enables support for the MPC5200's on-chip
Fast Ethernet Controller Fast Ethernet Controller
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment