freebsd-dev/sys/conf
Adrian Chadd 72b9c70e36 Break out the arge MDIO bus code into an optional argemdio device.
This is only done if the ARGE_MDIO option is included.

* Shuffle the arge MDIO bus into a separate device, that needs to be
  probed early (use hint.argemdio.X.order=0)
* hint.arge.X.mdio now specifies which miiproxy to rendezvous with.
* Call MAC/MDIO bus init during MDIO attach, not arge attach.

This is done regardless:

* Shift the arge MAC and MDIO bus reset code into separate functions
  and call it early during MDIO bus attach.  It's required for
  correct MDIO bus IO to occur on AR71xx/AR91xx devices.

* Remove the AR71xx/AR91xx centric assumption that there's only one
  MDIO bus.  The initial code mapped miibus0(arge0) and miibus1(arge1)
  MII register operations to the MII0 (arge0) register space.  The
  AR724x (and later, upcoming chipsets) have two MDIO busses and
  the second is very much in use.

TODO:

* since the multiphy behaviour has changed (where now a phymask of >1
  PHY will still be enumerated), multiphy setups may be quite wrong.
  I'll go and fix these so they still have a chance of working, at least.
  until the switch PHY support appears in -HEAD.

Submitted by:	Stefan Bethke <stb@lassitu.de>
2012-05-01 06:18:30 +00:00
..
defines
files Bring over the first part of the etherswitch framework - an MDIO bus and 2012-05-01 06:11:38 +00:00
files.amd64 uart_cpu_amd64.c and uart_cpu_i386.c (under sys/dev/uart) are 2012-04-11 02:42:01 +00:00
files.arm Allow (with a license warning) "options ZFS" to work in static kernels. 2012-03-27 21:23:56 +00:00
files.i386 uart_cpu_amd64.c and uart_cpu_i386.c (under sys/dev/uart) are 2012-04-11 02:42:01 +00:00
files.ia64 Allow (with a license warning) "options ZFS" to work in static kernels. 2012-03-27 21:23:56 +00:00
files.mips Allow (with a license warning) "options ZFS" to work in static kernels. 2012-03-27 21:23:56 +00:00
files.pc98 Move the legacy(4) driver to x86. 2012-03-30 19:10:14 +00:00
files.powerpc Remove dead code. The routines in atomic.S did not work properly anyway, and 2012-04-22 18:56:56 +00:00
files.sparc64 Allow (with a license warning) "options ZFS" to work in static kernels. 2012-03-27 21:23:56 +00:00
kern.mk Work around the following clang warning in mps(4): 2012-03-23 11:35:01 +00:00
kern.post.mk Allow (with a license warning) "options ZFS" to work in static kernels. 2012-03-27 21:23:56 +00:00
kern.pre.mk Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
kmod_syms.awk
kmod.mk Bring over the first part of the etherswitch framework - an MDIO bus and 2012-05-01 06:11:38 +00:00
ldscript.amd64 The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x200000 2011-03-28 06:35:17 +00:00
ldscript.arm
ldscript.i386 Step 2: sync sys/conf/ldscript.i386 with the binutils 2.17.50 version, 2010-11-05 19:40:27 +00:00
ldscript.ia64 Stop linking against a direct-mapped virtual address and instead 2011-04-30 20:49:00 +00:00
ldscript.mips Let the linker pick the right output format automatically 2010-11-13 18:38:35 +00:00
ldscript.mips.cfe Remove commented out _DYNAMIC sections. 2011-01-20 19:20:23 +00:00
ldscript.mips.mips64 Remove commented out _DYNAMIC sections. 2011-01-20 19:20:23 +00:00
ldscript.mips.octeon1 In fact, we don't need any of these __DYNAMIC. it is a.out leftover and commented out. 2011-01-20 19:24:50 +00:00
ldscript.powerpc In fact, we don't need any of these __DYNAMIC. it is a.out leftover and commented out. 2011-01-20 19:24:50 +00:00
ldscript.powerpc64 Add the .opd section, this is helps booting a profiled kernel. 2012-01-20 18:52:31 +00:00
ldscript.sparc64 Merge binutils 2.17.50 to head. This brings a number of improvements to 2011-02-18 20:54:12 +00:00
Makefile.amd64 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
Makefile.arm Add -ffreestanding to the command line, so taht inflate.c compiles and link 2011-06-15 19:15:50 +00:00
Makefile.i386 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
Makefile.ia64
Makefile.mips Fill out fake preload structure to let userland tools like pmc(3) know 2012-03-15 05:29:51 +00:00
Makefile.pc98
Makefile.powerpc Add -Wa,-many to CFLAGS on PowerPC. This aids in building a kernel using 2011-06-09 19:47:30 +00:00
Makefile.sparc64
makeLINT.mk Disable INET6 support in modules when building the LINT-NOINET6 kernel. 2012-04-04 21:31:20 +00:00
makeLINT.sed Match the files directive and all the ways to add or subtract options 2011-10-04 17:11:38 +00:00
newvers.sh newvers.sh: unbreak git/git-svn support 2012-02-12 14:54:19 +00:00
NOTES Fix some style bugs introduced in a previous commit (r233045) 2012-04-14 23:53:31 +00:00
options Upgrade ATH_EEPROM_FIRMWARE to a configuration option. 2012-04-13 18:00:48 +00:00
options.amd64 Disable detailed PV entry accounting by default. Add a config option 2012-03-24 19:43:49 +00:00
options.arm - Add new ARM kernel option QEMU_WORKAROUNDS which can be 2012-04-07 23:47:08 +00:00
options.i386 Disable detailed PV entry accounting by default. Add a config option 2012-03-24 19:43:49 +00:00
options.ia64 Provide groundwork for 32-bit binary compatibility on non-x86 platforms, 2010-03-11 14:49:06 +00:00
options.mips Break out the arge MDIO bus code into an optional argemdio device. 2012-05-01 06:18:30 +00:00
options.pc98 Unbreak the build for pc98. Specify the newly introduced, for ia32, 2010-01-16 12:24:12 +00:00
options.powerpc Import support for the Sony Playstation 3 using the OtherOS feature 2011-01-06 04:12:29 +00:00
options.sparc64 Add a driver for the `Fire' JBus to PCIe bridges found in at least 2009-12-27 16:55:44 +00:00
systags.sh
WITHOUT_SOURCELESS Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00
WITHOUT_SOURCELESS_HOST Fix a typo. 2012-02-12 19:29:34 +00:00
WITHOUT_SOURCELESS_UCODE Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00