The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/mips/conf/DIR-825.hints

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # $FreeBSD$
    2 
    3 # arge0 is connected to the LAN side of the switch PHY.
    4 # arge1 is connected to the single port WAN side of the switch PHY.
    5 
    6 hint.arge.0.phymask=0x0
    7 hint.arge.0.media=1000
    8 hint.arge.0.fduplex=1
    9 hint.arge.0.eeprommac=0x1f66ffa0
   10 hint.arge.0.readascii=1
   11 
   12 hint.arge.1.phymask=0x0
   13 hint.arge.1.media=1000
   14 hint.arge.1.fduplex=1
   15 hint.arge.1.eeprommac=0x1f66ffb4
   16 hint.arge.1.readascii=1
   17 
   18 # ath0 - slot 17
   19 hint.pcib.0.bus.0.17.0.ath_fixup_addr=0x1f661000
   20 hint.pcib.0.bus.0.17.0.ath_fixup_size=4096
   21 
   22 # ath1 - slot 18
   23 hint.pcib.0.bus.0.18.0.ath_fixup_addr=0x1f665000
   24 hint.pcib.0.bus.0.18.0.ath_fixup_size=4096
   25 
   26 # .. and now, telling each ath(4) NIC where to find the firmware
   27 # image.
   28 hint.ath.0.eeprom_firmware="pcib.0.bus.0.17.0.eeprom_firmware"
   29 hint.ath.1.eeprom_firmware="pcib.0.bus.0.18.0.eeprom_firmware"
   30 
   31 # TODO: gpio LEDs
   32 
   33 # Geom MAP
   34 
   35 # The DIR-825 has an 8MB flash part - HOWEVER, the 64k caldata isn't
   36 # at the end of the flash. It's ~ 6MB into the flash image.
   37 
   38 # mtdparts=ar7100-nor0:256k(uboot),64k(Config),1024k(vmlinux),5184k(rootfs),64k(caldata)
   39 
   40 hint.map.0.at="flash/spi0"
   41 hint.map.0.start=0x00000000
   42 hint.map.0.end=0x000040000
   43 hint.map.0.name="uboot"
   44 hint.map.0.readonly=1
   45 
   46 # This config partition is the D-Link specific configuration area.
   47 # I'm re-purposing it for FreeBSD.
   48 hint.map.1.at="flash/spi0"
   49 hint.map.1.start=0x00040000
   50 hint.map.1.end=0x00050000
   51 hint.map.1.name="cfg"
   52 hint.map.1.readonly=0
   53 
   54 hint.map.2.at="flash/spi0"
   55 hint.map.2.start=0x0050000
   56 hint.map.2.end=0x00150000
   57 hint.map.2.name="kernel"
   58 hint.map.2.readonly=1
   59 
   60 hint.map.3.at="flash/spi0"
   61 hint.map.3.start=0x00150000
   62 hint.map.3.end=0x00660000
   63 hint.map.3.name="rootfs"
   64 hint.map.3.readonly=0
   65 
   66 hint.map.4.at="flash/spi0"
   67 hint.map.4.start=0x00660000
   68 hint.map.4.end=0x00670000
   69 hint.map.4.name="art"
   70 hint.map.4.readonly=1
   71 

Cache object: 61915219814ae50b350109056b4a9c5a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.