From ec826ad5c7f97de814529d3b3bae7950f91d9a5d Mon Sep 17 00:00:00 2001 From: qingli Date: Mon, 15 Dec 2008 06:10:57 +0000 Subject: This main goals of this project are: 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion --- sys/conf/NOTES | 2 +- sys/conf/files | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/conf') diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 4c66d14..6825dd4 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -1958,7 +1958,7 @@ device fatm #Fore PCA200E device hatm #Fore/Marconi HE155/622 device patm #IDT77252 cards (ProATM and IDT) device utopia #ATM PHY driver -options NATM #native ATM +#options NATM #native ATM options LIBMBPOOL #needed by patm, iatm diff --git a/sys/conf/files b/sys/conf/files index d09ead4..633b411 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -2172,6 +2172,7 @@ net/if_gre.c optional gre net/if_iso88025subr.c optional token net/if_lagg.c optional lagg net/if_loop.c optional loop +net/if_llatbl.c standard net/if_media.c standard net/if_mib.c standard net/if_ppp.c optional ppp -- cgit v1.1 From f0e837432d62958c713c7e6ebbb2adc52c8fd696 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Mon, 15 Dec 2008 15:31:10 +0000 Subject: Adapt parts of the sparc64 Open Firmware bus enumeration code (in particular, the code for parsing interrupt maps) to PowerPC and reflect their new MI status by moving them to the shared dev/ofw directory. This commit also modifies the OFW PCI enumeration procedure on PowerPC to allow the bus to find non-firmware-enumerated devices that Apple likes to add, and adds some useful Open Firmware properties (compat and name) to the pnpinfo string of children on OFW SBus, EBus, PCI, and MacIO links. Because of the change to PCI enumeration on PowerPC, X has started working again on PPC machines with Grackle hostbridges. Reviewed by: marius Obtained from: sparc64 --- sys/conf/files.sparc64 | 1 - sys/conf/files.sun4v | 1 - 2 files changed, 2 deletions(-) (limited to 'sys/conf') diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64 index 93f07ed..25ef599 100644 --- a/sys/conf/files.sparc64 +++ b/sys/conf/files.sparc64 @@ -111,7 +111,6 @@ sparc64/sparc64/mp_exception.S optional smp \ sparc64/sparc64/mp_locore.S optional smp sparc64/sparc64/mp_machdep.c optional smp sparc64/sparc64/nexus.c standard -sparc64/sparc64/ofw_bus.c standard sparc64/sparc64/ofw_machdep.c standard sparc64/sparc64/pmap.c standard sparc64/sparc64/prof_machdep.c optional profiling-routine diff --git a/sys/conf/files.sun4v b/sys/conf/files.sun4v index 03fca35..150e931 100644 --- a/sys/conf/files.sun4v +++ b/sys/conf/files.sun4v @@ -65,7 +65,6 @@ sun4v/sun4v/mp_locore.S optional smp sun4v/sun4v/mp_machdep.c optional smp sun4v/sun4v/nexus.c standard sun4v/cddl/t1_copy.S standard -sparc64/sparc64/ofw_bus.c standard sparc64/sparc64/ofw_machdep.c standard sun4v/sun4v/pmap.c standard sparc64/sparc64/prof_machdep.c optional profiling-routine -- cgit v1.1 From 3fcef6d9c20b6c3577c741e4a0fe24807fd08a66 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sat, 20 Dec 2008 00:33:10 +0000 Subject: Modularize the Open Firmware client interface to allow run-time switching of OFW access semantics, in order to allow future support for real-mode OF access and flattened device frees. OF client interface modules are implemented using KOBJ, in a similar way to the PPC PMAP modules. Because we need Open Firmware to be available before mutexes can be used on sparc64, changes are also included to allow KOBJ to be used very early in the boot process by only using the mutex once we know it has been initialized. Reviewed by: marius, grehan --- sys/conf/files.powerpc | 2 ++ sys/conf/files.sparc64 | 2 ++ sys/conf/files.sun4v | 2 ++ 3 files changed, 6 insertions(+) (limited to 'sys/conf') diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc index 7570d93..901e36d 100644 --- a/sys/conf/files.powerpc +++ b/sys/conf/files.powerpc @@ -30,9 +30,11 @@ dev/kbd/kbd.c optional sc dev/ofw/openfirm.c optional aim dev/ofw/openfirmio.c optional aim dev/ofw/ofw_bus_if.m optional aim +dev/ofw/ofw_if.m optional aim dev/ofw/ofw_bus_subr.c optional aim dev/ofw/ofw_console.c optional aim dev/ofw/ofw_disk.c optional ofwd aim +dev/ofw/ofw_standard.c optional aim dev/powermac_nvram/powermac_nvram.c optional powermac_nvram powermac dev/quicc/quicc_bfe_ocp.c optional quicc mpc85xx dev/scc/scc_bfe_macio.c optional scc powermac diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64 index 25ef599..311027c 100644 --- a/sys/conf/files.sparc64 +++ b/sys/conf/files.sparc64 @@ -42,8 +42,10 @@ dev/kbd/kbd.c optional atkbd | sc | ukbd dev/le/if_le_lebuffer.c optional le sbus dev/le/if_le_ledma.c optional le sbus dev/le/lebuffer_sbus.c optional le sbus +dev/ofw/ofw_if.m standard dev/ofw/ofw_bus_if.m standard dev/ofw/ofw_bus_subr.c standard +dev/ofw/ofw_standard.c standard dev/ofw/ofw_console.c optional ofw_console dev/ofw/openfirm.c standard dev/ofw/openfirmio.c standard diff --git a/sys/conf/files.sun4v b/sys/conf/files.sun4v index 150e931..384c13a 100644 --- a/sys/conf/files.sun4v +++ b/sys/conf/files.sun4v @@ -21,8 +21,10 @@ ukbdmap.h optional ukbd_dflt_keymap \ crypto/blowfish/bf_enc.c optional crypto | ipsec crypto/des/des_enc.c optional crypto | ipsec | netsmb dev/ofw/ofw_bus_if.m standard +dev/ofw/ofw_if.m standard dev/ofw/ofw_bus_subr.c standard dev/ofw/ofw_console.c optional ofw_console +dev/ofw/ofw_standard.c standard dev/ofw/openfirm.c standard dev/ofw/openfirmio.c standard dev/ofw/openpromio.c standard -- cgit v1.1