I think the board got a revision, but as the kernel support for that hardware was discontinued, it has the old definitions. Look at platforms/fads.h for the BCSR definitions and copy them from PPCBooot.
On Wednesday 18 December 2002 12:56, James Don wrote: > Hi, > > I have a MPC860 FADS based board running kernel 2.4. > > My Ethernet is not showing up ... I have compiled in enet support ... fixed > my port pins ... but when I do ifconfig I see only: > > # ifconfig > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) > > > At start my enet scc is configured properly ... I am pretty sure because I > see: > ## Transferring control to Linux (at address 00000000) ... > Linux version 2.4.20-pre8 ... > Kernel command line: root=/dev/ram rw > ip=192.168.104.101:192.168.103.151:192.168.104.1:255.255.255.0:BigMoney::of >f ... > eth0: CPM ENET Version 0.2 on SCC1, 00:22:2e:ff:67:de > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > loop: loaded (max 8 devices) > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP > IP: routing cache hash table of 512 buckets, 4Kbytes > TCP: Hash tables configured (established 1024 bind 1024) > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > RAMDISK: Compressed image found at block 0 > Freeing initrd memory: 1425k freed > VFS: Mounted root (ext2 filesystem). > Freeing unused kernel memory: 44k init > .... > > Am I missing some kernel config (see below)? > > Jim > > # > # Automatically generated by make menuconfig: don't edit > # > # CONFIG_UID16 is not set > # CONFIG_RWSEM_GENERIC_SPINLOCK is not set > CONFIG_RWSEM_XCHGADD_ALGORITHM=y > CONFIG_HAVE_DEC_LOCK=y > > # > # Code maturity level options > # > CONFIG_EXPERIMENTAL=y > > # > # Loadable module support > # > # CONFIG_MODULES is not set > > # > # Platform support > # > CONFIG_PPC=y > CONFIG_PPC32=y > # CONFIG_6xx is not set > # CONFIG_4xx is not set > # CONFIG_POWER3 is not set > # CONFIG_POWER4 is not set > CONFIG_8xx=y > # CONFIG_PPC_STD_MMU is not set > CONFIG_SERIAL_CONSOLE=y > # CONFIG_RPXLITE is not set > # CONFIG_RPXCLASSIC is not set > # CONFIG_BSEIP is not set > CONFIG_FADS=y > # CONFIG_TQM823L is not set > # CONFIG_TQM850L is not set > # CONFIG_TQM855L is not set > # CONFIG_TQM860L is not set > # CONFIG_FPS850L is not set > # CONFIG_TQM860 is not set > # CONFIG_SPD823TS is not set > # CONFIG_IVMS8 is not set > # CONFIG_IVML24 is not set > # CONFIG_SM850 is not set > # CONFIG_MBX is not set > # CONFIG_WINCEPT is not set > # CONFIG_ALL_PPC is not set > # CONFIG_SMP is not set > CONFIG_MATH_EMULATION=y > CONFIG_EMBEDDEDBOOT=y > > # > # General setup > # > # CONFIG_HIGHMEM is not set > # CONFIG_ISA is not set > # CONFIG_EISA is not set > # CONFIG_SBUS is not set > # CONFIG_MCA is not set > # CONFIG_PCI_QSPAN is not set > # CONFIG_PCI is not set > CONFIG_NET=y > # CONFIG_SYSCTL is not set > # CONFIG_SYSVIPC is not set > # CONFIG_BSD_PROCESS_ACCT is not set > CONFIG_KCORE_ELF=y > CONFIG_BINFMT_ELF=y > CONFIG_KERNEL_ELF=y > # CONFIG_BINFMT_MISC is not set > # CONFIG_HOTPLUG is not set > # CONFIG_PCMCIA is not set > > # > # Parallel port support > # > # CONFIG_PARPORT is not set > # CONFIG_PPC_RTC is not set > # CONFIG_CMDLINE_BOOL is not set > > # > # Memory Technology Devices (MTD) > # > # CONFIG_MTD is not set > > # > # Plug and Play configuration > # > # CONFIG_PNP is not set > # CONFIG_ISAPNP is not set > > # > # Block devices > # > # CONFIG_BLK_DEV_FD is not set > # CONFIG_BLK_DEV_XD is not set > # CONFIG_PARIDE is not set > # CONFIG_BLK_CPQ_DA is not set > # CONFIG_BLK_CPQ_CISS_DA is not set > # CONFIG_CISS_SCSI_TAPE 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_NBD=y > CONFIG_BLK_DEV_RAM=y > CONFIG_BLK_DEV_RAM_SIZE=4096 > CONFIG_BLK_DEV_INITRD=y > CONFIG_BLK_STATS=y > > # > # Multi-device support (RAID and LVM) > # > # CONFIG_MD is not set > # CONFIG_BLK_DEV_MD is not set > # CONFIG_MD_LINEAR is not set > # CONFIG_MD_RAID0 is not set > # CONFIG_MD_RAID1 is not set > # CONFIG_MD_RAID5 is not set > # CONFIG_MD_MULTIPATH is not set > # CONFIG_BLK_DEV_LVM is not set > > # > # Networking options > # > CONFIG_PACKET=y > # CONFIG_PACKET_MMAP is not set > # CONFIG_NETLINK_DEV is not set > # CONFIG_NETFILTER is not set > # CONFIG_FILTER is not set > CONFIG_UNIX=y > 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 is not set > # CONFIG_IPV6 is not set > # CONFIG_KHTTPD is not set > # CONFIG_ATM is not set > # CONFIG_VLAN_8021Q is not set > # CONFIG_IPX is not set > # CONFIG_ATALK is not set > > # > # Appletalk devices > # > # CONFIG_DEV_APPLETALK is not set > # CONFIG_DECNET is not set > # CONFIG_BRIDGE is not set > # CONFIG_X25 is not set > # CONFIG_LAPB is not set > # CONFIG_LLC 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 > > # > # ATA/IDE/MFM/RLL support > # > # CONFIG_IDE is not set > # CONFIG_BLK_DEV_IDE_MODES is not set > # CONFIG_BLK_DEV_HD is not set > > # > # SCSI support > # > # CONFIG_SCSI is not set > > # > # Network device support > # > 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 > # CONFIG_ETHERTAP is not set > > # > # Ethernet (10 or 100Mbit) > # > CONFIG_NET_ETHERNET=y > # CONFIG_MACE is not set > # CONFIG_BMAC is not set > # CONFIG_GMAC is not set > # CONFIG_SUNLANCE is not set > # CONFIG_SUNBMAC is not set > # CONFIG_SUNQE 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 > # CONFIG_NET_ISA is not set > # CONFIG_NET_PCI 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_MYRI_SBUS is not set > # CONFIG_NS83820 is not set > # CONFIG_HAMACHI is not set > # CONFIG_YELLOWFIN is not set > # CONFIG_SK98LIN is not set > # CONFIG_TIGON3 is not set > # CONFIG_FDDI is not set > # CONFIG_HIPPI is not set > # CONFIG_PLIP is not set > # CONFIG_PPP is not set > # CONFIG_SLIP is not set > > # > # Wireless LAN (non-hamradio) > # > CONFIG_NET_RADIO=y > # CONFIG_STRIP is not set > # CONFIG_WAVELAN is not set > # CONFIG_ARLAN is not set > # CONFIG_AIRONET4500 is not set > # CONFIG_AIRONET4500_NONCS is not set > # CONFIG_AIRONET4500_PROC is not set > CONFIG_HERMES=y > # CONFIG_NET_WIRELESS is not set > > # > # Token Ring devices > # > # CONFIG_TR is not set > # CONFIG_NET_FC is not set > # CONFIG_RCPCI is not set > # CONFIG_SHAPER 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 > > # > # ISDN subsystem > # > # CONFIG_ISDN is not set > > # > # Old CD-ROM drivers (not SCSI, not IDE) > # > # CONFIG_CD_NO_IDESCSI is not set > > # > # Console drivers > # > > # > # Frame-buffer support > # > # CONFIG_FB is not set > > # > # Input core support > # > # CONFIG_INPUT is not set > # CONFIG_INPUT_KEYBDEV is not set > # CONFIG_INPUT_MOUSEDEV is not set > # CONFIG_INPUT_JOYDEV is not set > # CONFIG_INPUT_EVDEV is not set > > # > # Macintosh device drivers > # > > # > # Character devices > # > CONFIG_VT=y > CONFIG_VT_CONSOLE=y > # CONFIG_SERIAL is not set > # CONFIG_SERIAL_EXTENDED is not set > # CONFIG_SERIAL_NONSTANDARD is not set > CONFIG_UNIX98_PTYS=y > CONFIG_UNIX98_PTY_COUNT=256 > > # > # I2C support > # > CONFIG_I2C=y > # CONFIG_I2C_ALGOBIT is not set > # CONFIG_I2C_ALGOPCF is not set > # CONFIG_I2C_ALGO8XX is not set > CONFIG_I2C_CHARDEV=y > CONFIG_I2C_PROC=y > > # > # Mice > # > # CONFIG_BUSMOUSE is not set > # CONFIG_MOUSE is not set > > # > # Joysticks > # > # CONFIG_INPUT_GAMEPORT is not set > # CONFIG_QIC02_TAPE is not set > > # > # Watchdog Cards > # > # CONFIG_WATCHDOG is not set > # CONFIG_NVRAM is not set > # CONFIG_RTC 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 > > # > # Multimedia devices > # > # CONFIG_VIDEO_DEV is not set > > # > # File systems > # > # CONFIG_QUOTA is not set > # CONFIG_AUTOFS_FS is not set > # CONFIG_AUTOFS4_FS is not set > # CONFIG_REISERFS_FS is not set > # CONFIG_REISERFS_CHECK is not set > # CONFIG_REISERFS_PROC_INFO is not set > # CONFIG_ADFS_FS is not set > # CONFIG_ADFS_FS_RW is not set > # CONFIG_AFFS_FS is not set > # CONFIG_HFS_FS is not set > # CONFIG_BEFS_FS is not set > # CONFIG_BEFS_DEBUG is not set > # CONFIG_BFS_FS is not set > # CONFIG_EXT3_FS is not set > # CONFIG_JBD is not set > # CONFIG_JBD_DEBUG is not set > # CONFIG_FAT_FS is not set > # CONFIG_MSDOS_FS is not set > # CONFIG_UMSDOS_FS is not set > # CONFIG_VFAT_FS is not set > # CONFIG_EFS_FS is not set > # CONFIG_JFFS_FS is not set > # CONFIG_JFFS2_FS is not set > # CONFIG_CRAMFS is not set > # CONFIG_TMPFS is not set > CONFIG_RAMFS=y > # CONFIG_ISO9660_FS is not set > # CONFIG_JOLIET is not set > # CONFIG_ZISOFS is not set > # CONFIG_JFS_FS is not set > # CONFIG_JFS_DEBUG is not set > # CONFIG_JFS_STATISTICS is not set > # CONFIG_MINIX_FS is not set > # CONFIG_VXFS_FS is not set > # CONFIG_NTFS_FS is not set > # CONFIG_NTFS_RW is not set > # CONFIG_HPFS_FS is not set > CONFIG_PROC_FS=y > # CONFIG_DEVFS_FS is not set > # CONFIG_DEVFS_MOUNT is not set > # CONFIG_DEVFS_DEBUG is not set > # CONFIG_DEVPTS_FS is not set > # CONFIG_QNX4FS_FS is not set > # CONFIG_QNX4FS_RW is not set > # CONFIG_ROMFS_FS is not set > CONFIG_EXT2_FS=y > # CONFIG_SYSV_FS is not set > # CONFIG_UDF_FS is not set > # CONFIG_UDF_RW is not set > # CONFIG_UFS_FS is not set > # CONFIG_UFS_FS_WRITE is not set > > # > # Network File Systems > # > # CONFIG_CODA_FS is not set > # CONFIG_INTERMEZZO_FS is not set > CONFIG_NFS_FS=y > # CONFIG_NFS_V3 is not set > # CONFIG_ROOT_NFS is not set > CONFIG_NFSD=y > # CONFIG_NFSD_V3 is not set > # CONFIG_NFSD_TCP is not set > CONFIG_SUNRPC=y > CONFIG_LOCKD=y > # CONFIG_SMB_FS is not set > # CONFIG_NCP_FS is not set > # CONFIG_NCPFS_PACKET_SIGNING is not set > # CONFIG_NCPFS_IOCTL_LOCKING is not set > # CONFIG_NCPFS_STRONG is not set > # CONFIG_NCPFS_NFS_NS is not set > # CONFIG_NCPFS_OS2_NS is not set > # CONFIG_NCPFS_SMALLDOS is not set > # CONFIG_NCPFS_NLS is not set > # CONFIG_NCPFS_EXTRAS is not set > # CONFIG_ZISOFS_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_SGI_PARTITION is not set > # CONFIG_ULTRIX_PARTITION is not set > # CONFIG_SUN_PARTITION is not set > # CONFIG_EFI_PARTITION is not set > # CONFIG_SMB_NLS is not set > # CONFIG_NLS is not set > > # > # Sound > # > # CONFIG_SOUND is not set > > # > # MPC8xx CPM Options > # > CONFIG_SCC_ENET=y > CONFIG_SCC1_ENET=y > # CONFIG_SCC2_ENET is not set > # CONFIG_SCC3_ENET is not set > # CONFIG_FEC_ENET is not set > # CONFIG_ENET_BIG_BUFFERS is not set > # CONFIG_SMC2_UART is not set > # CONFIG_USE_SCC_IO is not set > # CONFIG_8xx_COPYBACK is not set > # CONFIG_8xx_CPU6 is not set > # CONFIG_UCODE_PATCH is not set > > # > # USB support > # > # CONFIG_USB is not set > > # > # Bluetooth support > # > # CONFIG_BLUEZ is not set > > # > # Library routines > # > CONFIG_ZLIB_INFLATE=y > CONFIG_ZLIB_DEFLATE=y > > # > # Kernel hacking > # > # CONFIG_DEBUG_KERNEL is not set > > - -- This is Linux country. On a quiet night, you can hear Windows reboot. Leonardo Pereira Santos Engenheiro de Projetos PD3 Tecnologia av. Par? 330/202 (51) 3337 1237 Today Fortune tells us: I hate trolls. Maybe I could metamorph it into something else -- like a ravenous, two-headed, fire-breathing dragon. -- Willow ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/