Commit cd1d2d27 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
  [POWERPC] Fix MPC5200 (not B!) device tree so FEC ethernet works
  [POWERPC] mpc5200: Amalgamated DTS fixes and updates
  [POWERPC] Fix rtas_flash procfs interface
  [POWERPC] Fix deadlock with mmu_hash_lock in hash_page_sync
  [POWERPC] Fix iSeries hard irq enabling regression
  [POWERPC] Fix CPM2 SCC1 clock initialization.
  [POWERPC] Fix defconfigs so we dont set both GENRTC and RTCLIB
  [POWERPC] fsldma: Use compatiable binding as spec
  [POWERPC] sata_fsl: reduce compatibility to fsl,pq-sata
  [POWERPC] 83xx: enable usb in 837x rdb and 83xx defconfigs
  [POWERPC] 83xx: Fix wrong USB phy type in mpc837xrdb dts
parents 9f389f4b 8d813941
...@@ -212,13 +212,30 @@ serial@2c00 { // PSC6 ...@@ -212,13 +212,30 @@ serial@2c00 { // PSC6
ethernet@3000 { ethernet@3000 {
device_type = "network"; device_type = "network";
compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
reg = <3000 800>; reg = <3000 400>;
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <2 5 0>; interrupts = <2 5 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
phy-handle = <&phy0>;
};
mdio@3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
reg = <3000 400>; // fec range, since we need to setup fec interrupts
interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
interrupt-parent = <&mpc5200_pic>;
phy0: ethernet-phy@0 {
device_type = "ethernet-phy";
reg = <0>;
};
}; };
i2c@3d40 { i2c@3d40 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
reg = <3d40 40>; reg = <3d40 40>;
interrupts = <2 10 0>; interrupts = <2 10 0>;
...@@ -231,4 +248,22 @@ sram@8000 { ...@@ -231,4 +248,22 @@ sram@8000 {
reg = <8000 4000>; reg = <8000 4000>;
}; };
}; };
lpb {
model = "fsl,lpb";
compatible = "fsl,lpb";
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 fc000000 2000000>;
// 16-bit flash device at LocalPlus Bus CS0
flash@0,0 {
compatible = "cfi-flash";
reg = <0 0 2000000>;
bank-width = <2>;
device-width = <2>;
#size-cells = <1>;
#address-cells = <1>;
};
};
}; };
...@@ -258,6 +258,21 @@ ethernet@3000 { ...@@ -258,6 +258,21 @@ ethernet@3000 {
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <2 5 0>; interrupts = <2 5 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
phy-handle = <&phy0>;
};
mdio@3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200-mdio";
reg = <3000 400>; // fec range, since we need to setup fec interrupts
interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
interrupt-parent = <&mpc5200_pic>;
phy0:ethernet-phy@1 {
device_type = "ethernet-phy";
reg = <1>;
};
}; };
ata@3a00 { ata@3a00 {
......
...@@ -148,7 +148,6 @@ gpio@c00 { ...@@ -148,7 +148,6 @@ gpio@c00 {
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
}; };
spi@f00 { spi@f00 {
compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi"; compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
reg = <f00 20>; reg = <f00 20>;
...@@ -209,10 +208,25 @@ serial@2800 { // PSC5 ...@@ -209,10 +208,25 @@ serial@2800 { // PSC5
ethernet@3000 { ethernet@3000 {
device_type = "network"; device_type = "network";
compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec"; compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
reg = <3000 800>; reg = <3000 400>;
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <2 5 0>; interrupts = <2 5 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
phy-handle = <&phy0>;
};
mdio@3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
reg = <3000 400>; // fec range, since we need to setup fec interrupts
interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
interrupt-parent = <&mpc5200_pic>;
phy0: ethernet-phy@2 {
device_type = "ethernet-phy";
reg = <2>;
};
}; };
ata@3a00 { ata@3a00 {
...@@ -223,11 +237,19 @@ ata@3a00 { ...@@ -223,11 +237,19 @@ ata@3a00 {
}; };
i2c@3d40 { i2c@3d40 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
reg = <3d40 40>; reg = <3d40 40>;
interrupts = <2 10 0>; interrupts = <2 10 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
fsl5200-clocking; fsl5200-clocking;
rtc@68 {
device_type = "rtc";
compatible = "dallas,ds1339";
reg = <68>;
};
}; };
sram@8000 { sram@8000 {
...@@ -240,7 +262,8 @@ lpb { ...@@ -240,7 +262,8 @@ lpb {
compatible = "fsl,lpb"; compatible = "fsl,lpb";
#address-cells = <2>; #address-cells = <2>;
#size-cells = <1>; #size-cells = <1>;
ranges = <1 0 50000000 00010000 ranges = <0 0 ff000000 01000000
1 0 50000000 00010000
2 0 50010000 00010000 2 0 50010000 00010000
3 0 50020000 00010000>; 3 0 50020000 00010000>;
...@@ -271,31 +294,15 @@ pro_module_dio@3,800 { ...@@ -271,31 +294,15 @@ pro_module_dio@3,800 {
compatible = "promess,pro_module_dio"; compatible = "promess,pro_module_dio";
reg = <3 800 2>; reg = <3 800 2>;
}; };
};
pci@f0000d00 { // 16-bit flash device at LocalPlus Bus CS0
#interrupt-cells = <1>; flash@0,0 {
#size-cells = <2>; compatible = "cfi-flash";
#address-cells = <3>; reg = <0 0 01000000>;
device_type = "pci"; bank-width = <2>;
compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci"; device-width = <2>;
reg = <f0000d00 100>; #size-cells = <1>;
interrupt-map-mask = <f800 0 0 7>; #address-cells = <1>;
interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot };
c000 0 0 2 &mpc5200_pic 1 1 3
c000 0 0 3 &mpc5200_pic 1 2 3
c000 0 0 4 &mpc5200_pic 1 3 3
c800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
c800 0 0 2 &mpc5200_pic 1 2 3
c800 0 0 3 &mpc5200_pic 1 3 3
c800 0 0 4 &mpc5200_pic 0 0 3>;
clock-frequency = <0>; // From boot loader
interrupts = <2 8 0 2 9 0 2 a 0>;
interrupt-parent = <&mpc5200_pic>;
bus-range = <0 0>;
ranges = <42000000 0 80000000 80000000 0 20000000
02000000 0 a0000000 a0000000 0 10000000
01000000 0 00000000 b0000000 0 01000000>;
}; };
}; };
...@@ -255,14 +255,14 @@ sdhc@2e000 { ...@@ -255,14 +255,14 @@ sdhc@2e000 {
}; };
sata@18000 { sata@18000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x18000 0x1000>; reg = <0x18000 0x1000>;
interrupts = <44 0x8>; interrupts = <44 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
}; };
sata@19000 { sata@19000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x19000 0x1000>; reg = <0x19000 0x1000>;
interrupts = <45 0x8>; interrupts = <45 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
......
...@@ -143,7 +143,6 @@ spi@7000 { ...@@ -143,7 +143,6 @@ spi@7000 {
mode = "cpu"; mode = "cpu";
}; };
/* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
usb@23000 { usb@23000 {
compatible = "fsl-usb2-dr"; compatible = "fsl-usb2-dr";
reg = <0x23000 0x1000>; reg = <0x23000 0x1000>;
...@@ -151,7 +150,7 @@ usb@23000 { ...@@ -151,7 +150,7 @@ usb@23000 {
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
interrupts = <38 0x8>; interrupts = <38 0x8>;
phy_type = "utmi"; phy_type = "ulpi";
}; };
mdio@24520 { mdio@24520 {
......
...@@ -143,7 +143,6 @@ spi@7000 { ...@@ -143,7 +143,6 @@ spi@7000 {
mode = "cpu"; mode = "cpu";
}; };
/* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
usb@23000 { usb@23000 {
compatible = "fsl-usb2-dr"; compatible = "fsl-usb2-dr";
reg = <0x23000 0x1000>; reg = <0x23000 0x1000>;
...@@ -151,7 +150,7 @@ usb@23000 { ...@@ -151,7 +150,7 @@ usb@23000 {
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
interrupts = <38 0x8>; interrupts = <38 0x8>;
phy_type = "utmi"; phy_type = "ulpi";
}; };
mdio@24520 { mdio@24520 {
......
...@@ -255,28 +255,28 @@ sdhc@2e000 { ...@@ -255,28 +255,28 @@ sdhc@2e000 {
}; };
sata@18000 { sata@18000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x18000 0x1000>; reg = <0x18000 0x1000>;
interrupts = <44 0x8>; interrupts = <44 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
}; };
sata@19000 { sata@19000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x19000 0x1000>; reg = <0x19000 0x1000>;
interrupts = <45 0x8>; interrupts = <45 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
}; };
sata@1a000 { sata@1a000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x1a000 0x1000>; reg = <0x1a000 0x1000>;
interrupts = <46 0x8>; interrupts = <46 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
}; };
sata@1b000 { sata@1b000 {
compatible = "fsl,mpc8379-sata"; compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
reg = <0x1b000 0x1000>; reg = <0x1b000 0x1000>;
interrupts = <47 0x8>; interrupts = <47 0x8>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
......
...@@ -143,7 +143,6 @@ spi@7000 { ...@@ -143,7 +143,6 @@ spi@7000 {
mode = "cpu"; mode = "cpu";
}; };
/* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
usb@23000 { usb@23000 {
compatible = "fsl-usb2-dr"; compatible = "fsl-usb2-dr";
reg = <0x23000 0x1000>; reg = <0x23000 0x1000>;
...@@ -151,7 +150,7 @@ usb@23000 { ...@@ -151,7 +150,7 @@ usb@23000 {
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <&ipic>; interrupt-parent = <&ipic>;
interrupts = <38 0x8>; interrupts = <38 0x8>;
phy_type = "utmi"; phy_type = "ulpi";
}; };
mdio@24520 { mdio@24520 {
......
...@@ -127,10 +127,25 @@ serial@2400 { // PSC3 ...@@ -127,10 +127,25 @@ serial@2400 { // PSC3
ethernet@3000 { ethernet@3000 {
device_type = "network"; device_type = "network";
compatible = "fsl,mpc5200-fec"; compatible = "fsl,mpc5200-fec";
reg = <3000 800>; reg = <3000 400>;
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <2 5 0>; interrupts = <2 5 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
phy-handle = <&phy0>;
};
mdio@3000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200b-mdio","fsl,mpc5200-mdio";
reg = <3000 400>; // fec range, since we need to setup fec interrupts
interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
interrupt-parent = <&mpc5200_pic>;
phy0: ethernet-phy@0 {
device_type = "ethernet-phy";
reg = <0>;
};
}; };
ata@3a00 { ata@3a00 {
...@@ -141,11 +156,19 @@ ata@3a00 { ...@@ -141,11 +156,19 @@ ata@3a00 {
}; };
i2c@3d40 { i2c@3d40 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,mpc5200-i2c","fsl-i2c"; compatible = "fsl,mpc5200-i2c","fsl-i2c";
reg = <3d40 40>; reg = <3d40 40>;
interrupts = <2 10 0>; interrupts = <2 10 0>;
interrupt-parent = <&mpc5200_pic>; interrupt-parent = <&mpc5200_pic>;
fsl5200-clocking; fsl5200-clocking;
rtc@68 {
device_type = "rtc";
compatible = "dallas,ds1307";
reg = <68>;
};
}; };
sram@8000 { sram@8000 {
...@@ -154,6 +177,23 @@ sram@8000 { ...@@ -154,6 +177,23 @@ sram@8000 {
}; };
}; };
lpb {
model = "fsl,lpb";
compatible = "fsl,lpb";
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 fc000000 02000000>;
flash@0,0 {
compatible = "cfi-flash";
reg = <0 0 02000000>;
bank-width = <4>;
device-width = <2>;
#size-cells = <1>;
#address-cells = <1>;
};
};
pci@f0000d00 { pci@f0000d00 {
#interrupt-cells = <1>; #interrupt-cells = <1>;
#size-cells = <2>; #size-cells = <2>;
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:16 2008 # Mon Mar 31 11:36:51 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -628,8 +628,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -628,8 +628,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM=y
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -824,10 +823,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -824,10 +823,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:20 2008 # Mon Mar 31 11:36:56 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -571,8 +571,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -571,8 +571,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -767,10 +766,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -767,10 +766,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:21 2008 # Mon Mar 31 11:36:57 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -626,8 +626,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -626,8 +626,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM=y
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -822,10 +821,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -822,10 +821,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
...@@ -684,7 +684,29 @@ CONFIG_USB_SUPPORT=y ...@@ -684,7 +684,29 @@ CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set # CONFIG_USB_ARCH_HAS_OHCI is not set
CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_USB is not set CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PPC_OF=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# #
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
......
...@@ -690,7 +690,29 @@ CONFIG_USB_SUPPORT=y ...@@ -690,7 +690,29 @@ CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set # CONFIG_USB_ARCH_HAS_OHCI is not set
CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_USB is not set CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
CONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
CONFIG_USB_EHCI_FSL=y
CONFIG_USB_EHCI_HCD_PPC_OF=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# #
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:26 2008 # Mon Mar 31 11:37:03 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -742,8 +742,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -742,8 +742,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y CONFIG_NVRAM=y
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
CONFIG_GEN_RTC_X=y
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -1209,10 +1208,6 @@ CONFIG_USB_MON=y ...@@ -1209,10 +1208,6 @@ CONFIG_USB_MON=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:28 2008 # Mon Mar 31 11:37:05 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -629,8 +629,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -629,8 +629,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM=y
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -825,10 +824,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y ...@@ -825,10 +824,6 @@ CONFIG_USB_ARCH_HAS_EHCI=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:29 2008 # Mon Mar 31 11:37:06 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -742,8 +742,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -742,8 +742,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y CONFIG_NVRAM=y
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
CONFIG_GEN_RTC_X=y
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -1209,10 +1208,6 @@ CONFIG_USB_MON=y ...@@ -1209,10 +1208,6 @@ CONFIG_USB_MON=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:31 2008 # Mon Mar 31 11:37:08 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -750,8 +750,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -750,8 +750,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y CONFIG_NVRAM=y
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
CONFIG_GEN_RTC_X=y
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -1217,10 +1216,6 @@ CONFIG_USB_MON=y ...@@ -1217,10 +1216,6 @@ CONFIG_USB_MON=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:34 2008 # Mon Mar 31 11:37:11 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -736,8 +736,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -736,8 +736,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y CONFIG_NVRAM=y
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
CONFIG_GEN_RTC_X=y
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -1203,10 +1202,6 @@ CONFIG_USB_MON=y ...@@ -1203,10 +1202,6 @@ CONFIG_USB_MON=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:37 2008 # Mon Mar 31 11:37:15 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -855,8 +855,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -855,8 +855,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set # CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set # CONFIG_NVRAM is not set
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -1129,10 +1128,6 @@ CONFIG_USB_MON=y ...@@ -1129,10 +1128,6 @@ CONFIG_USB_MON=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
# #
# Automatically generated make config: don't edit # Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc6 # Linux kernel version: 2.6.25-rc7
# Mon Mar 24 08:48:41 2008 # Mon Mar 31 11:37:19 2008
# #
# CONFIG_PPC64 is not set # CONFIG_PPC64 is not set
...@@ -717,8 +717,7 @@ CONFIG_LEGACY_PTY_COUNT=256 ...@@ -717,8 +717,7 @@ CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_IPMI_HANDLER is not set # CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=m CONFIG_HW_RANDOM=m
CONFIG_NVRAM=y CONFIG_NVRAM=y
CONFIG_GEN_RTC=y # CONFIG_GEN_RTC is not set
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not set # CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set # CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set # CONFIG_RAW_DRIVER is not set
...@@ -931,10 +930,6 @@ CONFIG_USB_STORAGE=y ...@@ -931,10 +930,6 @@ CONFIG_USB_STORAGE=y
# CONFIG_EDAC is not set # CONFIG_EDAC is not set
CONFIG_RTC_LIB=y CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y CONFIG_RTC_CLASS=y
#
# Conflicting RTC option has been selected, check GEN_RTC and RTC
#
CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set # CONFIG_RTC_DEBUG is not set
......
...@@ -1387,12 +1387,14 @@ __secondary_start: ...@@ -1387,12 +1387,14 @@ __secondary_start:
#ifdef CONFIG_PPC_ISERIES #ifdef CONFIG_PPC_ISERIES
BEGIN_FW_FTR_SECTION BEGIN_FW_FTR_SECTION
ori r4,r4,MSR_EE ori r4,r4,MSR_EE
li r8,1
stb r8,PACAHARDIRQEN(r13)
END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES) END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES)
#endif #endif
BEGIN_FW_FTR_SECTION BEGIN_FW_FTR_SECTION
stb r7,PACASOFTIRQEN(r13)
stb r7,PACAHARDIRQEN(r13) stb r7,PACAHARDIRQEN(r13)
END_FW_FTR_SECTION_IFCLR(FW_FEATURE_ISERIES) END_FW_FTR_SECTION_IFCLR(FW_FEATURE_ISERIES)
stb r7,PACASOFTIRQEN(r13)
mtspr SPRN_SRR0,r3 mtspr SPRN_SRR0,r3
mtspr SPRN_SRR1,r4 mtspr SPRN_SRR1,r4
...@@ -1520,15 +1522,14 @@ _INIT_GLOBAL(start_here_common) ...@@ -1520,15 +1522,14 @@ _INIT_GLOBAL(start_here_common)
#ifdef CONFIG_PPC_ISERIES #ifdef CONFIG_PPC_ISERIES
BEGIN_FW_FTR_SECTION BEGIN_FW_FTR_SECTION
mfmsr r5 mfmsr r5
ori r5,r5,MSR_EE /* Hard Enabled */ ori r5,r5,MSR_EE /* Hard Enabled on iSeries*/
mtmsrd r5 mtmsrd r5
li r5,1
END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES) END_FW_FTR_SECTION_IFSET(FW_FEATURE_ISERIES)
#endif #endif
BEGIN_FW_FTR_SECTION stb r5,PACAHARDIRQEN(r13) /* Hard Disabled on others */
stb r5,PACAHARDIRQEN(r13)
END_FW_FTR_SECTION_IFCLR(FW_FEATURE_ISERIES)
bl .start_kernel bl .start_kernel
/* Not reached */ /* Not reached */
BUG_OPCODE BUG_OPCODE
......
...@@ -143,7 +143,6 @@ void local_irq_restore(unsigned long en) ...@@ -143,7 +143,6 @@ void local_irq_restore(unsigned long en)
*/ */
if (local_paca->lppaca_ptr->int_dword.any_int) if (local_paca->lppaca_ptr->int_dword.any_int)
iseries_handle_interrupts(); iseries_handle_interrupts();
return;
} }
/* /*
......
...@@ -356,7 +356,7 @@ static int rtas_excl_open(struct inode *inode, struct file *file) ...@@ -356,7 +356,7 @@ static int rtas_excl_open(struct inode *inode, struct file *file)
/* Enforce exclusive open with use count of PDE */ /* Enforce exclusive open with use count of PDE */
spin_lock(&flash_file_open_lock); spin_lock(&flash_file_open_lock);
if (atomic_read(&dp->count) > 1) { if (atomic_read(&dp->count) > 2) {
spin_unlock(&flash_file_open_lock); spin_unlock(&flash_file_open_lock);
return -EBUSY; return -EBUSY;
} }
......
...@@ -44,6 +44,9 @@ mmu_hash_lock: ...@@ -44,6 +44,9 @@ mmu_hash_lock:
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
.text .text
_GLOBAL(hash_page_sync) _GLOBAL(hash_page_sync)
mfmsr r10
rlwinm r0,r10,0,17,15 /* clear bit 16 (MSR_EE) */
mtmsr r0
lis r8,mmu_hash_lock@h lis r8,mmu_hash_lock@h
ori r8,r8,mmu_hash_lock@l ori r8,r8,mmu_hash_lock@l
lis r0,0x0fff lis r0,0x0fff
...@@ -60,8 +63,9 @@ _GLOBAL(hash_page_sync) ...@@ -60,8 +63,9 @@ _GLOBAL(hash_page_sync)
eieio eieio
li r0,0 li r0,0
stw r0,0(r8) stw r0,0(r8)
blr mtmsr r10
#endif blr
#endif /* CONFIG_SMP */
/* /*
* Load a PTE into the hash table, if possible. * Load a PTE into the hash table, if possible.
......
...@@ -240,6 +240,7 @@ int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode) ...@@ -240,6 +240,7 @@ int cpm2_clk_setup(enum cpm_clk_target target, int clock, int mode)
case CPM_CLK_SCC1: case CPM_CLK_SCC1:
reg = &im_cpmux->cmx_scr; reg = &im_cpmux->cmx_scr;
shift = 24; shift = 24;
break;
case CPM_CLK_SCC2: case CPM_CLK_SCC2:
reg = &im_cpmux->cmx_scr; reg = &im_cpmux->cmx_scr;
shift = 16; shift = 16;
......
...@@ -1348,10 +1348,7 @@ static int sata_fsl_remove(struct of_device *ofdev) ...@@ -1348,10 +1348,7 @@ static int sata_fsl_remove(struct of_device *ofdev)
static struct of_device_id fsl_sata_match[] = { static struct of_device_id fsl_sata_match[] = {
{ {
.compatible = "fsl,mpc8315-sata", .compatible = "fsl,pq-sata",
},
{
.compatible = "fsl,mpc8379-sata",
}, },
{}, {},
}; };
......
...@@ -1021,11 +1021,11 @@ const u32 mpc8349_dma_ip_feature = FSL_DMA_IP_83XX | FSL_DMA_LITTLE_ENDIAN; ...@@ -1021,11 +1021,11 @@ const u32 mpc8349_dma_ip_feature = FSL_DMA_IP_83XX | FSL_DMA_LITTLE_ENDIAN;
static struct of_device_id of_fsl_dma_chan_ids[] = { static struct of_device_id of_fsl_dma_chan_ids[] = {
{ {
.compatible = "fsl,mpc8540-dma-channel", .compatible = "fsl,eloplus-dma-channel",
.data = (void *)&mpc8540_dma_ip_feature, .data = (void *)&mpc8540_dma_ip_feature,
}, },
{ {
.compatible = "fsl,mpc8349-dma-channel", .compatible = "fsl,elo-dma-channel",
.data = (void *)&mpc8349_dma_ip_feature, .data = (void *)&mpc8349_dma_ip_feature,
}, },
{} {}
...@@ -1107,8 +1107,8 @@ static int __devinit of_fsl_dma_probe(struct of_device *dev, ...@@ -1107,8 +1107,8 @@ static int __devinit of_fsl_dma_probe(struct of_device *dev,
} }
static struct of_device_id of_fsl_dma_ids[] = { static struct of_device_id of_fsl_dma_ids[] = {
{ .compatible = "fsl,mpc8540-dma", }, { .compatible = "fsl,eloplus-dma", },
{ .compatible = "fsl,mpc8349-dma", }, { .compatible = "fsl,elo-dma", },
{} {}
}; };
......
...@@ -1057,6 +1057,7 @@ static int mpc52xx_fec_of_resume(struct of_device *op) ...@@ -1057,6 +1057,7 @@ static int mpc52xx_fec_of_resume(struct of_device *op)
#endif #endif
static struct of_device_id mpc52xx_fec_match[] = { static struct of_device_id mpc52xx_fec_match[] = {
{ .type = "network", .compatible = "fsl,mpc5200b-fec", },
{ .type = "network", .compatible = "fsl,mpc5200-fec", }, { .type = "network", .compatible = "fsl,mpc5200-fec", },
{ .type = "network", .compatible = "mpc5200-fec", }, { .type = "network", .compatible = "mpc5200-fec", },
{ } { }
......
...@@ -179,6 +179,7 @@ static int mpc52xx_fec_mdio_remove(struct of_device *of) ...@@ -179,6 +179,7 @@ static int mpc52xx_fec_mdio_remove(struct of_device *of)
static struct of_device_id mpc52xx_fec_mdio_match[] = { static struct of_device_id mpc52xx_fec_mdio_match[] = {
{ .compatible = "fsl,mpc5200b-mdio", }, { .compatible = "fsl,mpc5200b-mdio", },
{ .compatible = "fsl,mpc5200-mdio", },
{ .compatible = "mpc5200b-fec-phy", }, { .compatible = "mpc5200b-fec-phy", },
{} {}
}; };
......
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