BriQ & Linux 2.6
Subsystems (2)
I attempted to boot a 2.6.6 kernel on my BriQ today and ran into a snag... it appears that the IBM,CPC710 PCI bridge handling stuff didn't make it into 2.6. As such the host won't boot as all the goodies hanging off the PCI bus vanish. Any plans to roll the code forward in the near future?
--
Jamie Heilman http://audible.transient.net/~jamie/
"Most people wouldn't know music if it came up and bit them on the ass."
-Frank Zappa
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Jamie Heilman
I attempted to boot a 2.6.6 kernel on my BriQ today and ran into a snag... it appears that the IBM,CPC710 PCI bridge handling stuff didn't make it into 2.6. As such the host won't boot as all the goodies hanging off the PCI bus vanish. Any plans to roll the code forward in the near future?
I have a few patches for the briq, I didn't push them upstream yet, as I'm trying to find a clean way to deal with an issue relative to the serial port clock setting.
Enclosed is my latest version of that patch (may need some hand-applying as it's a couple of monthes old).
Ben.
arch/ppc/configs/briq_defconfig +855 -0
@@ -0,0 +1,855 @@ +# +# Automatically generated make config: don't edit +# +CONFIG_MMU=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_HAVE_DEC_LOCK=y +CONFIG_PPC=y +CONFIG_PPC32=y +CONFIG_GENERIC_NVRAM=y + +# +# Code maturity level options +# +CONFIG_EXPERIMENTAL=y +CONFIG_CLEAN_COMPILE=y +# CONFIG_STANDALONE is not set +CONFIG_BROKEN_ON_SMP=y + +# +# General setup +# +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +# CONFIG_BSD_PROCESS_ACCT is not set +CONFIG_SYSCTL=y +CONFIG_LOG_BUF_SHIFT=14 +CONFIG_HOTPLUG=y +# CONFIG_IKCONFIG is not set +CONFIG_EMBEDDED=y +CONFIG_KALLSYMS=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_IOSCHED_NOOP=y +CONFIG_IOSCHED_AS=y +CONFIG_IOSCHED_DEADLINE=y +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set + +# +# Loadable module support +# +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_MODULE_FORCE_UNLOAD is not set +CONFIG_OBSOLETE_MODPARM=y +CONFIG_MODVERSIONS=y +CONFIG_KMOD=y + +# +# Processor +# +CONFIG_6xx=y +# CONFIG_40x is not set +# CONFIG_44x is not set +# CONFIG_POWER3 is not set +# CONFIG_POWER4 is not set +# CONFIG_8xx is not set +CONFIG_ALTIVEC=y +# CONFIG_TAU is not set +# CONFIG_CPU_FREQ is not set +# CONFIG_PPC601_SYNC_FIX is not set +CONFIG_PPC_STD_MMU=y + +# +# Platform options +# +CONFIG_PPC_MULTIPLATFORM=y +# CONFIG_APUS is not set +# CONFIG_WILLOW is not set +# CONFIG_PCORE is not set +# CONFIG_POWERPMC250 is not set +# CONFIG_EV64260 is not set +# CONFIG_SPRUCE is not set +# CONFIG_LOPEC is not set +# CONFIG_MCPN765 is not set +# CONFIG_MVME5100 is not set +# CONFIG_PPLUS is not set +# CONFIG_PRPMC750 is not set +# CONFIG_PRPMC800 is not set +# CONFIG_SANDPOINT is not set +# CONFIG_ADIR is not set +# CONFIG_K2 is not set +# CONFIG_PAL4 is not set +# CONFIG_GEMINI is not set +# CONFIG_EST8260 is not set +# CONFIG_SBS8260 is not set +# CONFIG_RPX6 is not set +# CONFIG_TQM8260 is not set +CONFIG_PPC_CHRP=y +CONFIG_PPC_PMAC=y +CONFIG_PPC_PREP=y +CONFIG_PPC_OF=y +CONFIG_PPCBUG_NVRAM=y +# CONFIG_SMP is not set +# CONFIG_PREEMPT is not set +CONFIG_HIGHMEM=y +CONFIG_KERNEL_ELF=y +CONFIG_BINFMT_ELF=y +CONFIG_BINFMT_MISC=m +CONFIG_PROC_DEVICETREE=y +CONFIG_PPC_RTAS=y +# CONFIG_PREP_RESIDUAL is not set +# CONFIG_CMDLINE_BOOL is not set + +# +# Bus options +# +CONFIG_ISA=y +CONFIG_GENERIC_ISA_DMA=y +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_LEGACY_PROC=y +CONFIG_PCI_NAMES=y + +# +# PCMCIA/CardBus support +# +# CONFIG_PCMCIA is not set +CONFIG_PCMCIA_PROBE=y + +# +# Advanced setup +# +CONFIG_ADVANCED_OPTIONS=y +# CONFIG_HIGHMEM_START_BOOL is not set +CONFIG_HIGHMEM_START=0xfe000000 +# CONFIG_LOWMEM_SIZE_BOOL is not set +CONFIG_LOWMEM_SIZE=0x30000000 +# CONFIG_KERNEL_START_BOOL is not set +CONFIG_KERNEL_START=0xc0000000 +# CONFIG_TASK_SIZE_BOOL is not set +CONFIG_TASK_SIZE=0x80000000 +CONFIG_BOOT_LOAD=0x00800000 + +# +# Device Drivers +# + +# +# Generic Driver Options +# +# CONFIG_FW_LOADER is not set +# CONFIG_DEBUG_DRIVER is not set + +# +# Memory Technology Devices (MTD) +# +# CONFIG_MTD is not set + +# +# Parallel port support +# +# CONFIG_PARPORT is not set + +# +# Plug and Play support +# +# CONFIG_PNP is not set + +# +# Block devices +# +# CONFIG_BLK_DEV_FD is not set +# CONFIG_BLK_DEV_XD is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +CONFIG_BLK_DEV_LOOP=y +# CONFIG_BLK_DEV_CRYPTOLOOP is not set +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_CARMEL is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=4096 +CONFIG_BLK_DEV_INITRD=y +CONFIG_LBD=y + +# +# ATA/ATAPI/MFM/RLL support +# +CONFIG_IDE=y +CONFIG_BLK_DEV_IDE=y + +# +# Please see Documentation/ide.txt for help/info on IDE drives +# +CONFIG_BLK_DEV_IDEDISK=y +# CONFIG_IDEDISK_MULTI_MODE is not set +# CONFIG_IDEDISK_STROKE is not set +CONFIG_BLK_DEV_IDECD=y +# CONFIG_BLK_DEV_IDETAPE is not set +CONFIG_BLK_DEV_IDEFLOPPY=y +# CONFIG_IDE_TASK_IOCTL is not set +# CONFIG_IDE_TASKFILE_IO is not set + +# +# IDE chipset support/bugfixes +# +CONFIG_IDE_GENERIC=y +CONFIG_BLK_DEV_IDEPCI=y +CONFIG_IDEPCI_SHARE_IRQ=y +# CONFIG_BLK_DEV_OFFBOARD is not set +CONFIG_BLK_DEV_GENERIC=y +# CONFIG_BLK_DEV_OPTI621 is not set +CONFIG_BLK_DEV_SL82C105=y +CONFIG_BLK_DEV_IDEDMA_PCI=y +# CONFIG_BLK_DEV_IDEDMA_FORCED is not set +CONFIG_IDEDMA_PCI_AUTO=y +# CONFIG_IDEDMA_ONLYDISK is not set +CONFIG_BLK_DEV_ADMA=y +# CONFIG_BLK_DEV_AEC62XX is not set +# CONFIG_BLK_DEV_ALI15X3 is not set +# CONFIG_BLK_DEV_AMD74XX is not set +# CONFIG_BLK_DEV_CMD64X is not set +# CONFIG_BLK_DEV_TRIFLEX is not set +# CONFIG_BLK_DEV_CY82C693 is not set +# CONFIG_BLK_DEV_CS5520 is not set +# CONFIG_BLK_DEV_CS5530 is not set +# CONFIG_BLK_DEV_HPT34X is not set +# CONFIG_BLK_DEV_HPT366 is not set +# CONFIG_BLK_DEV_SC1200 is not set +# CONFIG_BLK_DEV_PIIX is not set +# CONFIG_BLK_DEV_NS87415 is not set +# CONFIG_BLK_DEV_PDC202XX_OLD is not set +# CONFIG_BLK_DEV_PDC202XX_NEW is not set +# CONFIG_BLK_DEV_SVWKS is not set +# CONFIG_BLK_DEV_SIIMAGE is not set +# CONFIG_BLK_DEV_SLC90E66 is not set +# CONFIG_BLK_DEV_TRM290 is not set +# CONFIG_BLK_DEV_VIA82CXXX is not set +# CONFIG_BLK_DEV_IDE_PMAC is not set +# CONFIG_IDE_CHIPSETS is not set +CONFIG_BLK_DEV_IDEDMA=y +# CONFIG_IDEDMA_IVB is not set +CONFIG_IDEDMA_AUTO=y +# CONFIG_DMA_NONPCI is not set +# CONFIG_BLK_DEV_HD is not set + +# +# SCSI device support +# +# CONFIG_SCSI is not set + +# +# Old CD-ROM drivers (not SCSI, not IDE) +# +# CONFIG_CD_NO_IDESCSI is not set + +# +# Multi-device support (RAID and LVM) +# +# CONFIG_MD is not set + +# +# Fusion MPT device support +# +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_IEEE1394 is not set + +# +# I2O device support +# +# CONFIG_I2O is not set + +# +# Macintosh device drivers +# +# CONFIG_ADB is not set +# CONFIG_ADB_CUDA is not set +# CONFIG_ADB_PMU is not set +# CONFIG_MAC_FLOPPY is not set +# CONFIG_MAC_SERIAL is not set + +# +# Networking support +# +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_MMAP is not set +# CONFIG_NETLINK_DEV is not set +CONFIG_UNIX=y +# CONFIG_NET_KEY is not set +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +# CONFIG_IP_ADVANCED_ROUTER is not set +# CONFIG_IP_PNP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE is not set +# CONFIG_IP_MROUTE is not set +# CONFIG_ARPD is not set +# CONFIG_INET_ECN is not set +CONFIG_SYN_COOKIES=y +# CONFIG_INET_AH is not set +# CONFIG_INET_ESP is not set +# CONFIG_INET_IPCOMP is not set + +# +# IP: Virtual Server Configuration +# +# CONFIG_IP_VS is not set +# CONFIG_IPV6 is not set +# CONFIG_DECNET is not set +# CONFIG_BRIDGE is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set + +# +# IP: Netfilter Configuration +# +CONFIG_IP_NF_CONNTRACK=m +CONFIG_IP_NF_FTP=m +CONFIG_IP_NF_IRC=m +CONFIG_IP_NF_TFTP=m +CONFIG_IP_NF_AMANDA=m +# CONFIG_IP_NF_QUEUE is not set +CONFIG_IP_NF_IPTABLES=m +CONFIG_IP_NF_MATCH_LIMIT=m +CONFIG_IP_NF_MATCH_IPRANGE=m +CONFIG_IP_NF_MATCH_MAC=m +CONFIG_IP_NF_MATCH_PKTTYPE=m +CONFIG_IP_NF_MATCH_MARK=m +CONFIG_IP_NF_MATCH_MULTIPORT=m +CONFIG_IP_NF_MATCH_TOS=m +CONFIG_IP_NF_MATCH_RECENT=m +CONFIG_IP_NF_MATCH_ECN=m +CONFIG_IP_NF_MATCH_DSCP=m +CONFIG_IP_NF_MATCH_AH_ESP=m +CONFIG_IP_NF_MATCH_LENGTH=m +CONFIG_IP_NF_MATCH_TTL=m +CONFIG_IP_NF_MATCH_TCPMSS=m +CONFIG_IP_NF_MATCH_HELPER=m +CONFIG_IP_NF_MATCH_STATE=m +CONFIG_IP_NF_MATCH_CONNTRACK=m +CONFIG_IP_NF_MATCH_OWNER=m +CONFIG_IP_NF_FILTER=m +CONFIG_IP_NF_TARGET_REJECT=m +CONFIG_IP_NF_NAT=m +CONFIG_IP_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=m +CONFIG_IP_NF_TARGET_REDIRECT=m +CONFIG_IP_NF_TARGET_NETMAP=m +CONFIG_IP_NF_TARGET_SAME=m +# CONFIG_IP_NF_NAT_LOCAL is not set +CONFIG_IP_NF_NAT_SNMP_BASIC=m +CONFIG_IP_NF_NAT_IRC=m +CONFIG_IP_NF_NAT_FTP=m +CONFIG_IP_NF_NAT_TFTP=m +CONFIG_IP_NF_NAT_AMANDA=m +# CONFIG_IP_NF_MANGLE is not set +# CONFIG_IP_NF_TARGET_LOG is not set +# CONFIG_IP_NF_TARGET_ULOG is not set +CONFIG_IP_NF_TARGET_TCPMSS=m +CONFIG_IP_NF_ARPTABLES=m +CONFIG_IP_NF_ARPFILTER=m +CONFIG_IP_NF_ARP_MANGLE=m +CONFIG_IP_NF_COMPAT_IPCHAINS=m +# CONFIG_IP_NF_COMPAT_IPFWADM is not set + +# +# SCTP Configuration (EXPERIMENTAL) +# +CONFIG_IPV6_SCTP__=y +# CONFIG_IP_SCTP is not set +# CONFIG_ATM is not set +# CONFIG_VLAN_8021Q is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_NET_DIVERT is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_NET_FASTROUTE is not set +# CONFIG_NET_HW_FLOWCONTROL is not set + +# +# QoS and/or fair queueing +# +# CONFIG_NET_SCHED is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +CONFIG_NETDEVICES=y + +# +# ARCnet devices +# +# CONFIG_ARCNET is not set +# CONFIG_DUMMY is not set +# CONFIG_BONDING is not set +# CONFIG_EQUALIZER is not set +# CONFIG_TUN is not set + +# +# Ethernet (10 or 100Mbit) +# +CONFIG_NET_ETHERNET=y +CONFIG_MII=y +# CONFIG_MACE is not set +# CONFIG_BMAC is not set +# CONFIG_OAKNET is not set +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_LANCE is not set +# CONFIG_NET_VENDOR_SMC is not set +# CONFIG_NET_VENDOR_RACAL is not set + +# +# Tulip family network device support +# +# CONFIG_NET_TULIP is not set +# CONFIG_AT1700 is not set +# CONFIG_DEPCA is not set +# CONFIG_HP100 is not set +# CONFIG_NET_ISA is not set +CONFIG_NET_PCI=y +CONFIG_PCNET32=y +# CONFIG_AMD8111_ETH is not set +# CONFIG_ADAPTEC_STARFIRE is not set +# CONFIG_AC3200 is not set +# CONFIG_APRICOT is not set +# CONFIG_B44 is not set +# CONFIG_FORCEDETH is not set +# CONFIG_CS89x0 is not set +# CONFIG_DGRS is not set +# CONFIG_EEPRO100 is not set +# CONFIG_E100 is not set +# CONFIG_FEALNX is not set +# CONFIG_NATSEMI is not set +# CONFIG_NE2K_PCI is not set +# CONFIG_8139CP is not set +# CONFIG_8139TOO is not set +# CONFIG_SIS900 is not set +# CONFIG_EPIC100 is not set +# CONFIG_SUNDANCE is not set +# CONFIG_TLAN is not set +# CONFIG_VIA_RHINE is not set +# CONFIG_NET_POCKET is not set + +# +# Ethernet (1000 Mbit) +# +# CONFIG_ACENIC is not set +# CONFIG_DL2K is not set +# CONFIG_E1000 is not set +# CONFIG_NS83820 is not set +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +# CONFIG_R8169 is not set +# CONFIG_SIS190 is not set +# CONFIG_SK98LIN is not set +# CONFIG_TIGON3 is not set + +# +# Ethernet (10000 Mbit) +# +# CONFIG_IXGB is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set + +# +# Wireless LAN (non-hamradio) +# +CONFIG_NET_RADIO=y + +# +# Obsolete Wireless cards support (pre-802.11) +# +# CONFIG_STRIP is not set +# CONFIG_ARLAN is not set +# CONFIG_WAVELAN is not set + +# +# Wireless 802.11b ISA/PCI cards support +# +# CONFIG_AIRO is not set +CONFIG_HERMES=m +CONFIG_APPLE_AIRPORT=m +# CONFIG_PLX_HERMES is not set +# CONFIG_TMD_HERMES is not set +# CONFIG_PCI_HERMES is not set +# CONFIG_ATMEL is not set + +# +# Prism GT/Duette 802.11(a/b/g) PCI/PCMCIA support +# +# CONFIG_PRISM54 is not set +CONFIG_NET_WIRELESS=y + +# +# Token Ring devices +# +# CONFIG_TR is not set +# CONFIG_RCPCI is not set +# CONFIG_SHAPER is not set +# CONFIG_NETCONSOLE is not set + +# +# Wan interfaces +# +# CONFIG_WAN is not set + +# +# Amateur Radio support +# +# CONFIG_HAMRADIO is not set + +# +# IrDA (infrared) support +# +# CONFIG_IRDA is not set + +# +# Bluetooth support +# +# CONFIG_BT is not set +# CONFIG_NETPOLL is not set +# CONFIG_NET_POLL_CONTROLLER is not set + +# +# ISDN subsystem +# +# CONFIG_ISDN is not set + +# +# Telephony Support +# +# CONFIG_PHONE is not set + +# +# Input device support +# +# CONFIG_INPUT is not set + +# +# Userland interfaces +# + +# +# Input I/O drivers +# +# CONFIG_GAMEPORT is not set +CONFIG_SOUND_GAMEPORT=y +# CONFIG_SERIO is not set +# CONFIG_SERIO_I8042 is not set + +# +# Input Device Drivers +# + +# +# Character devices +# +# CONFIG_VT is not set +# CONFIG_SERIAL_NONSTANDARD is not set + +# +# Serial drivers +# +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_NR_UARTS=4 +# CONFIG_SERIAL_8250_EXTENDED is not set + +# +# Non-8250 serial port support +# +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +# CONFIG_SERIAL_PMACZILOG is not set +CONFIG_UNIX98_PTYS=y +CONFIG_LEGACY_PTYS=y +CONFIG_LEGACY_PTY_COUNT=256 +CONFIG_BRIQ_PANEL=y +# CONFIG_QIC02_TAPE is not set + +# +# IPMI +# +# CONFIG_IPMI_HANDLER is not set + +# +# Watchdog Cards +# +# CONFIG_WATCHDOG is not set +CONFIG_NVRAM=y +CONFIG_GEN_RTC=y +# CONFIG_GEN_RTC_X is not set +# CONFIG_DTLK is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set + +# +# Ftape, the floppy tape device driver +# +# CONFIG_FTAPE is not set +# CONFIG_AGP is not set +# CONFIG_DRM is not set +# CONFIG_RAW_DRIVER is not set + +# +# I2C support +# +# CONFIG_I2C is not set + +# +# Misc devices +# + +# +# Multimedia devices +# +# CONFIG_VIDEO_DEV is not set + +# +# Digital Video Broadcasting Devices +# +# CONFIG_DVB is not set + +# +# Graphics support +# +# CONFIG_FB is not set + +# +# Sound +# +# CONFIG_SOUND is not set + +# +# USB support +# +# CONFIG_USB is not set + +# +# USB Gadget Support +# +# CONFIG_USB_GADGET is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +# CONFIG_EXT2_FS_POSIX_ACL is not set +# CONFIG_EXT2_FS_SECURITY is not set +CONFIG_EXT3_FS=y +CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT3_FS_POSIX_ACL=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_FS_MBCACHE=y +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +CONFIG_FS_POSIX_ACL=y +# CONFIG_XFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_QUOTA is not set +# CONFIG_AUTOFS_FS is not set +# CONFIG_AUTOFS4_FS is not set + +# +# CD-ROM/DVD Filesystems +# +CONFIG_ISO9660_FS=y +# CONFIG_JOLIET is not set +# CONFIG_ZISOFS is not set +# CONFIG_UDF_FS is not set + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=m +CONFIG_MSDOS_FS=m +CONFIG_VFAT_FS=m +# CONFIG_NTFS_FS is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_KCORE=y +# CONFIG_DEVFS_FS is not set +CONFIG_DEVPTS_FS_XATTR=y +# CONFIG_DEVPTS_FS_SECURITY is not set +CONFIG_TMPFS=y +# CONFIG_HUGETLB_PAGE is not set +CONFIG_RAMFS=y + +# +# Miscellaneous filesystems +# +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_CRAMFS is not set +# CONFIG_VXFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set + +# +# Network File Systems +# +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V4=y +# CONFIG_NFS_DIRECTIO is not set +CONFIG_NFSD=y +CONFIG_NFSD_V3=y +CONFIG_NFSD_V4=y +# CONFIG_NFSD_TCP is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_EXPORTFS=y +CONFIG_SUNRPC=y +CONFIG_SUNRPC_GSS=y +CONFIG_RPCSEC_GSS_KRB5=y +CONFIG_SMB_FS=m +# CONFIG_SMB_NLS_DEFAULT is not set +# CONFIG_CIFS is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +CONFIG_MAC_PARTITION=y +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_NEC98_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_EFI_PARTITION is not set + +# +# Native Language Support +# +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +# CONFIG_NLS_CODEPAGE_437 is not set +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ISO8859_1=m +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +# CONFIG_NLS_UTF8 is not set + +# +# Library routines +# +CONFIG_CRC32=y + +# +# Kernel hacking +# +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SLAB is not set +# CONFIG_MAGIC_SYSRQ is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_HIGHMEM is not set +# CONFIG_DEBUG_SPINLOCK_SLEEP is not set +# CONFIG_KGDB is not set +CONFIG_XMON=y +# CONFIG_BDI_SWITCH is not set +# CONFIG_DEBUG_INFO is not set +CONFIG_BOOTX_TEXT=y + +# +# Security options +# +# CONFIG_SECURITY is not set + +# +# Cryptographic options +# +CONFIG_CRYPTO=y +# CONFIG_CRYPTO_HMAC is not set +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_MD4 is not set +CONFIG_CRYPTO_MD5=y +# CONFIG_CRYPTO_SHA1 is not set +# CONFIG_CRYPTO_SHA256 is not set +# CONFIG_CRYPTO_SHA512 is not set +CONFIG_CRYPTO_DES=y +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_TWOFISH is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_AES is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +# CONFIG_CRYPTO_ARC4 is not set +# CONFIG_CRYPTO_DEFLATE is not set +# CONFIG_CRYPTO_TEST is not set
arch/ppc/kernel/pci.c +9 -1
@@ -45,11 +45,16 @@static int reparent_resources (struct resource *parent,struct resource *res);static void fixup_rev1_53c810 (struct pci_dev * dev);static void fixup_cpc710_pci64 (struct pci_dev * dev); + +#ifdef CONFIG_PPC_CHRP +extern void chrp_pci_fixup_winbond_ata (struct pci_dev * dev); +#endif /* CONFIG_PPC_CHRP */ #ifdef CONFIG_PPC_PMAC extern void pmac_pci_fixup_cardbus (struct pci_dev * dev);extern void pmac_pci_fixup_pciata (struct pci_dev * dev);extern void pmac_pci_fixup_k2_sata (struct pci_dev * dev); -#endif +#endif /* CONFIG_PPC_PMAC */ +#ifdef CONFIG_PPC_OF static u8 * pci_to_OF_bus_map;#endif
@@ -69,6 +74,9 @@ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810 }, { PCI_FIXUP_HEADER, PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CPC710_PCI64, fixup_cpc710_pci64}, { PCI_FIXUP_HEADER, PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_resources }, +#ifdef CONFIG_PPC_CHRP + { PCI_FIXUP_FINAL, PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105, chrp_pci_fixup_winbond_ata }, +#endif /* CONFIG_PPC_CHRP */ #ifdef CONFIG_PPC_PMAC /* We should add per-machine fixup support in xxx_setup.c or xxx_pci.c */ { PCI_FIXUP_FINAL, PCI_VENDOR_ID_TI, PCI_ANY_ID, pmac_pci_fixup_cardbus },
arch/ppc/platforms/chrp_pci.c +39 -0
@@ -25,6 +25,9 @@/* LongTrail */ unsigned long gg2_pci_config_base; +/* BriQ stuff */ +extern int chrp_is_briq; +/* * The VLSI Golden Gate II has only 512K of PCI configuration space, so we * limit the bus number to 3 bits
@@ -166,6 +169,29 @@ } } +/* SL82C105 IDE Control/Status Register */ +#define SL82C105_IDECSR 0x40 + +void chrp_pci_fixup_winbond_ata (struct pci_dev *sl82c105) +{ +u8 progif; + +/* If non-briq machines need that fixup too, please speak up */ +if (_machine != _MACH_chrp || !chrp_is_briq) +return ; + +if ((sl82c105->class &5 ) !=5 ) { +printk ("W83C553: Switching SL82C105 IDE to PCI native mode\n" ); +/* Enable SL82C105 PCI native IDE mode */ +pci_read_config_byte (sl82c105,PCI_CLASS_PROG , &progif); +pci_write_config_byte (sl82c105,PCI_CLASS_PROG , progif |0x05 ); + sl82c105->class |=0x05 ; +/* Disable SL82C105 second port */ +pci_write_config_word (sl82c105,SL82C105_IDECSR ,0x0003 ); + } +} + +#define PRG_CL_RESET_VALID 0x00010000 static void __init
@@ -257,6 +283,19 @@ hose->cfg_data = (unsigned char *)ioremap (GG2_PCI_CONFIG_BASE ,0x80000 ); gg2_pci_config_base = (unsigned long ) hose->cfg_data; + }else if (!strncmp (model,"IBM,CPC710" ,10 )) { +setup_indirect_pci (hose, + dev->addrs[0 ].address +0x000f8000 , + dev->addrs[0 ].address +0x000f8010 ); +if (index ==0 ) { + dma = (unsigned int *) +get_property (dev,"system-dma-base" , &len); +if (dma && len >=sizeof (*dma)) { + dma = (unsigned int *)(((unsigned long )dma) + + len -sizeof (*dma)); + pci_dram_offset = *dma; + } + } }else {printk ("No methods for %s (model %s), using RTAS\n" , dev->full_name, model);
arch/ppc/platforms/chrp_setup.c +81 -18
163 lines not on this page · raw message
arch/ppc/syslib/prom.c +2 -3
@@ -80,7 +80,7 @@static unsigned long finish_node (struct device_node *,unsigned long ,interpret_func *,int ,int );static unsigned long finish_node_interrupts (struct device_node *,unsigned long ); -static struct device_node *find_phandle (phandle ); +struct device_node *find_phandle (phandle );extern void enter_rtas (void *);void phys_call_rtas (int ,int ,int , ...);
@@ -1133,8 +1133,7 @@/* * Find the device_node with a given phandle. */ -static struct device_node *__init -find_phandle (phandle ph) +struct device_node *find_phandle (phandle ph) {struct device_node *np;
drivers/char/Kconfig +12 -0
@@ -497,6 +497,18 @@ When not in use, each legacy PTY occupies 12 bytes on 32-bit architectures and 24 bytes on 64-bit architectures. +config BRIQ_PANEL + tristate 'Total Impact briQ front panel driver' + ---help--- + The briQ is a small footprint CHRP computer with + a frontpanel VFD, a tristate led and two switches. + It is the size of a CDROM drive. + If you have such one and want anything showing + on the VFD then you must answer Y here. + This driver can be built as a module. + The module name will be "briq_panel.o" + It's safe to say N. + config PRINTER tristate "Parallel printer support" depends on PARPORT
drivers/char/Makefile +1 -0
@@ -45,6 +45,7 @@ obj-$(CONFIG_SGI_L1_SERIAL) += sn_serial.o obj-$(CONFIG_VIOCONS) += viocons.o obj-$(CONFIG_VIOTAPE) += viotape.o +obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o obj-$(CONFIG_PRINTER) += lp.o obj-$(CONFIG_TIPAR) += tipar.o
drivers/char/briq_panel.c +293 -0
293 lines not on this page · raw message
drivers/serial/8250.c +6 -1
@@ -1830,6 +1830,8 @@static struct uart_8250_port serial8250_ports[UART_NR ]; +int alternate_serial_clock; +static void __init serial8250_isa_init_ports (void ) {struct uart_8250_port *up;
@@ -1844,7 +1846,10 @@ i++, up++) { up->port.iobase = old_serial_port[i].port; up->port.irq =irq_canonicalize (old_serial_port[i].irq); - up->port.uartclk = old_serial_port[i].baud_base *16 ; +if (alternate_serial_clock) + up->port.uartclk = alternate_serial_clock; +else + up->port.uartclk = old_serial_port[i].baud_base *16 ; up->port.flags = old_serial_port[i].flags |UPF_RESOURCES ; up->port.hub6 = old_serial_port[i].hub6;
include/asm-ppc/prom.h +1 -0
@@ -69,6 +69,7 @@extern struct device_node *find_compatible_devices (const char *type,const char *compat);extern struct device_node *find_all_nodes (void ); +extern struct device_node *find_phandle (phandle );/* New style node lookup */ extern struct device_node *of_find_node_by_name(struct device_node *from,
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Benjamin Herrenschmidt
I have a few patches for the briq, I didn't push them upstream yet, as I'm trying to find a clean way to deal with an issue relative to the serial port clock setting.
What is that issue out of curriosity? I ask because... well I've had some rather incongruous experinences with serial on the BriQ compared to what Karsten at Total Impact was telling me I should be having. Basically, all the kernels they've shipped recently had code that did some funky stuff to the baud rate. On my briq that made the serial port spew total garbage during boot until init hits runlevel 2 and resets it (debian), then everything is OK again. After reverting their changes everything works again. So I'm afraid I've had to take their code with a grain of salt. ISTR they were multiplying something by 4 that I found was better left alone... but I'd have to go back and see if I could find my old source trees to be sure, last time I looked at this box was 2 years ago.
Quoted 2 lines
Enclosed is my latest version of that patch (may need some hand-applying as it's a couple of monthes old).
Thanks! I'll play with it.
--
Jamie Heilman http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81. People said, "No, Holly,
she's not for you." She was cheap, she was stupid and she wouldn't
load -- well, not for me, anyway." -Holly
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Jamie Heilman
Quoted 3 lines · Benjamin Herrenschmidt
I have a few patches for the briq, I didn't push them upstream yet, as I'm trying to find a clean way to deal with an issue relative to the serial port clock setting.
What is that issue out of curriosity? I ask because... well I've had some rather incongruous experinences with serial on the BriQ compared to what Karsten at Total Impact was telling me I should be having.
Well... the base clock isn't what the driver thinks, so it must be hacked. But the driver doesn't provide a clean way to set another base clock, I'm trying to find something better than what the hack in the patch does.
Quoted 13 lines
Basically, all the kernels they've shipped recently had code that did some funky stuff to the baud rate. On my briq that made the serial port spew total garbage during boot until init hits runlevel 2 and resets it (debian), then everything is OK again. After reverting their changes everything works again. So I'm afraid I've had to take their code with a grain of salt. ISTR they were multiplying something by 4 that I found was better left alone... but I'd have to go back and see if I could find my old source trees to be sure, last time I looked at this box was 2 years ago.
Quoted 2 lines
Enclosed is my latest version of that patch (may need some hand-applying as it's a couple of monthes old).
Quoted 8 lines
Thanks! I'll play with it.
--
Jamie Heilman http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81. People said, "No, Holly,
she's not for you." She was cheap, she was stupid and she wouldn't
load -- well, not for me, anyway." -Holly
--
Benjamin Herrenschmidt <[email protected]>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Benjamin Herrenschmidt
Well... the base clock isn't what the driver thinks, so it must be hacked. But the driver doesn't provide a clean way to set another base clock, I'm trying to find something better than what the hack in the patch does.
Well progress so far, I have 2.6.6 booting now, had to fumble a little to apply one chunk but the rest was easy. Problems so far: during the entire boot, my console is line-noise-like hash[1], until runlevel 2, then it starts behaving correctly. The NICs (I have the PCI expansion + extra NIC board) are having some issues....
RX packets:118521 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:57244 dropped:0 overruns:0 carrier:57244...and yet, strangly I don't seem to be having any obvious network performance problems.
Now this isn't the first time I've had issues with either of those, and I think there are some patches in the Total Impact kernel source for the NIC issue. So I'm definately a lot closer than I was.
--
Jamie Heilman http://audible.transient.net/~jamie/
"...thats the metaphorical equivalent of flopping your wedding tackle
into a lion's mouth and flicking his lovespuds with a wet towel, pure
insanity..." -Rimmer
[1] like all: x<��x�x��x��x��x�x��x<�x�x
but then all the kernels from Total Impact do the same thing, and I bet if I remove the base clock hack it will just work. Or atleast appear to just work. Sometimes I wonder if my BriQ is cursed.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Jamie Heilman
Quoted 5 lines · Benjamin Herrenschmidt
Well... the base clock isn't what the driver thinks, so it must be hacked. But the driver doesn't provide a clean way to set another base clock, I'm trying to find something better than what the hack in the patch does.
Quoted 5 lines
Well progress so far, I have 2.6.6 booting now, had to fumble a little to apply one chunk but the rest was easy. Problems so far: during the entire boot, my console is line-noise-like hash[1], until runlevel 2, then it starts behaving correctly. The NICs (I have the PCI expansion + extra NIC board) are having some issues....
Linux console starts at 9600 while the briq firmware use a different speed (I don't remember which). Try adding the speed ot the kernel command line
console=ttyS0,<speed>
For example
console=ttyS0,38400
Quoted 5 lines
RX packets:118521 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:57244 dropped:0 overruns:0 carrier:57244...and yet, strangly I don't seem to be having any obvious network performance problems.
Interesting. I keep seeing reports of problems with pcnet32 driver, that's weird though.
Quoted 3 lines
Now this isn't the first time I've had issues with either of those, and I think there are some patches in the Total Impact kernel source for the NIC issue. So I'm definately a lot closer than I was.
--
Benjamin Herrenschmidt <[email protected]>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Benjamin Herrenschmidt
Linux console starts at 9600 while the briq firmware use a different speed (I don't remember which). Try adding the speed ot the kernel command line
Sure ... ok I see whats going on, ages ago, when my briq ran 2.2 it was always spoken to at 38400, but the kernel seemed to think it was actually 9600. As long as everything (init, setserial, getty, kernel) agreed it was 9600 but you actually connected at 38400 all was well. Now I see that things are trying to present a truer picture. I still had everything set to 9600, so the kernel was running at true 9600 and was garble, but init and getty would work OK. I just poked at my apps, now they all agree on 38400 and everything works now. So that explains that, misconfiguration on my part; easy fix.
Quoted 8 lines
Quoted 5 lines
RX packets:118521 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:57244 dropped:0 overruns:0 carrier:57244...and yet, strangly I don't seem to be having any obvious network performance problems.
Interesting. I keep seeing reports of problems with pcnet32 driver, that's weird though.
Yeah, quite. It doesn't do that using the 2.4.24 kernel from TI, which has pcnet32.c version 1.27a. There have been a lot of changes since then though. The only one that caught my eye was that back then the 79C973 was flagged to activate tx error recovery, and in the newer driver it isn't. I might play around with that and some higher debugging levels later.
Right now the more immediate problem is that any amount of disk IO that approaches significant triggers an immediate reboot. Which is obviously not cool. I'm doing some SMART tests on the drive, we'll see if that has any interesting feedback.
--
Jamie Heilman http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile? I liked you better when you weren't saying squat kid." -Buddy
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Well played around with the pcnet32 driver, reverting some of the changes since 1.27a, and it didn't help at all, so I gave up on that problem and focused on the spontaneous rebooting. SMART tests on the disk revealed nothing, acording to the selftests everything is fine.
On a whim I removed the gargoyle expansion board from the briq, and lo and behold - stability improved dramatically. Its hard to know why it helped. But more disturbing is that it didn't solve the issue by a long shot. So I ran bonnie++ for a few itterations ... and it worked flawlessly (in 2.6.6-bk8). Then I ran:
while :; do tar jxf linux-2.6.6-bk8.tar.bz2; echo -n .; done
The second time through the machine spontaneously rebooted. :-( So I booted up 2.4.24-2004021601briq from TI's site, reran the above test, and it got through about 4 itterations before it locked up hard, and VFD went dark (didn't reboot). So then I stepped back to 2.4.23-2004012801briq also from TI... ran the test again, got maybe 1 itteration further and locked up again. So, swearing up a storm, I booted up 2.2.19 and ran the test again, this got through quite a few itterations (like around 11 or 12) but in the end the machine still locked up and the VFD went dark.
Frustrating; I'm starting to wonder if the software is the real issue though.
--
Jamie Heilman http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81. People said, "No, Holly,
she's not for you." She was cheap, she was stupid and she wouldn't
load -- well, not for me, anyway." -Holly
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Picked this patch somewhere, let me know if it helps for the bogus Tx errors. I don't know what's up with the lockup at this point, I would expect the machine to be stable. Can you try to exercice it using only netbooting instead of the HD or switching the HD down to PIO mode (hdparm -d0 /dev/hda) to try to isolate the source of the problem ?
drivers/net/pcnet32.c renamed from drivers/net/limit.pcnet32.c +23 -14
@@ -22,8 +22,8 @@*************************************************************************/ #define DRV_NAME "pcnet32" -#define DRV_VERSION "1.30a" -#define DRV_RELDATE "05.22.2004" +#define DRV_VERSION "1.30b" +#define DRV_RELDATE "05.24.2004"#define PFX DRV_NAME ": " static const char *version =
@@ -132,7 +132,7 @@ };#define PCNET32_TEST_LEN (sizeof(pcnet32_gstrings_test) / ETH_GSTRING_LEN) -#define PCNET32_NUM_REGS 146 +#define PCNET32_NUM_REGS 168#define MAX_UNITS 8/* More are supported, limit only on options */ static int options[MAX_UNITS ];
@@ -242,6 +242,8 @@* v1.30 18 May 2004 Don Fry removed timer and Last Transmit Interrupt * (ltint) as they added complexity and didn't give good throughput. * v1.30a 22 May 2004 Don Fry limit frames received during interrupt. +* v1.30b 24 May 2004 Don Fry fix bogus tx carrier errors with 79c973, +* assisted by Bruce Penrod <[email protected]>. */
@@ -889,15 +891,25 @@for (i=0 ; i<16 ; i +=2 ) *buff++ =inw (ioaddr + i); -for (i =0 ; i <=89 ; i++) { +/* read control and status registers */ +for (i=0 ; i<90 ; i++) { *buff++ = a->read_csr (ioaddr, i); } *buff++ = a->read_csr (ioaddr,112 ); *buff++ = a->read_csr (ioaddr,114 ); -for (i =0 ; i <=35 ; i++) { - *buff++ = (i ==34 ) ?0xdead : a->read_bcr (ioaddr, i); +/* read bus configuration registers */ +for (i=0 ; i<36 ; i++) { + *buff++ = a->read_bcr (ioaddr, i); + } + +/* read mii phy registers */ +if (lp->mii) { +for (i=0 ; i<32 ; i++) { + lp->a.write_bcr (ioaddr,33 , ((lp->mii_if.phy_id) <<5 ) | i); + *buff++ = lp->a.read_bcr (ioaddr,34 ); + } }if (!(csr0 &0x0004 )) {/* If not stopped */
@@ -1722,6 +1734,9 @@/* There was an major error, log it. */ int err_status =le32_to_cpu (lp->tx_ring[entry].misc); lp->stats.tx_errors++; +if (netif_msg_tx_err (lp)) +printk (KERN_ERR "%s: Tx error status=%04x err_status=%08x\n" , + dev->name, status, err_status);if (err_status &0x04000000 ) lp->stats.tx_aborted_errors++;if (err_status &0x08000000 ) lp->stats.tx_carrier_errors++;if (err_status &0x10000000 ) lp->stats.tx_window_errors++;
@@ -2087,39 +2102,33 @@spin_unlock_irqrestore (&lp->lock, flags); } +/* This routine assumes that the lp->lock is held */ static int mdio_read (struct net_device *dev,int phy_id,int reg_num) {struct pcnet32_private *lp = dev->priv;unsigned long ioaddr = dev->base_addr;u16 val_out; -int phyaddr;if (!lp->mii)return 0 ; - phyaddr = lp->a.read_bcr (ioaddr,33 ); - lp->a.write_bcr (ioaddr,33 , ((phy_id &0x1f ) <<5 ) | (reg_num &0x1f )); val_out = lp->a.read_bcr (ioaddr,34 ); - lp->a.write_bcr (ioaddr,33 , phyaddr);return val_out; } +/* This routine assumes that the lp->lock is held */ static void mdio_write (struct net_device *dev,int phy_id,int reg_num,int val) {struct pcnet32_private *lp = dev->priv;unsigned long ioaddr = dev->base_addr; -int phyaddr;if (!lp->mii)return ; - phyaddr = lp->a.read_bcr (ioaddr,33 ); - lp->a.write_bcr (ioaddr,33 , ((phy_id &0x1f ) <<5 ) | (reg_num &0x1f )); lp->a.write_bcr (ioaddr,34 , val); - lp->a.write_bcr (ioaddr,33 , phyaddr); }static int pcnet32_ioctl (struct net_device *dev,struct ifreq *rq,int cmd)
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Benjamin Herrenschmidt
Picked this patch somewhere, let me know if it helps for the bogus Tx errors. I don't know what's up with the lockup at this point, I would expect the machine to be stable. Can you try to exercice it using only netbooting instead of the HD or switching the HD down to PIO mode (hdparm -d0
/dev/hda) to try to isolate the source of the problem ?
Ah cool, thanks I'll give it a try. It'll be a while though, I just accepted a job out of state, so I'm starting the moving process and one of the first things I did was stick the briq back in its box. It'll probably be a month before I'm ready to pull it out again, but I'll let you know how it goes when I do.
--
Jamie Heilman http://audible.transient.net/~jamie/
"Paranoia is a disease unto itself, and may I add, the person standing
next to you may not be who they appear to be, so take precaution."
-Sathington Willoughby
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/