Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/zaurus/conf Fix kernel size overflow caused by addi...
details: https://anonhg.NetBSD.org/src/rev/1c8fc549333a
branches: trunk
changeset: 996743:1c8fc549333a
user: rin <rin%NetBSD.org@localhost>
date: Thu Feb 07 20:33:44 2019 +0000
description:
Fix kernel size overflow caused by addition of ure(4) and PHY drivers.
Modern USB NICs are useful due to availability in the market, although
they cannot exhibit full performance with ohci(4). Also, some of them
support RX/TX offloading, which can be useful even with ohci(4).
Therefore, rather add modern NICs in usbdevices.config.
Instead, remove PHY drivers that cannot be used with zaurus.
Now, all kernels fits within 5 MiB = 5120 KiB:
- GENERIC 5105K ( 15K free)
- C700 5098K ( 22K free)
- INSTALL 4991K (129K free)
- INSTALL_C700 4681K (439K free)
diffstat:
sys/arch/zaurus/conf/GENERIC | 26 ++++----------------------
sys/arch/zaurus/conf/INSTALL | 12 +-----------
sys/arch/zaurus/conf/INSTALL_C700 | 5 ++++-
3 files changed, 9 insertions(+), 34 deletions(-)
diffs (108 lines):
diff -r 6ab1f32654c6 -r 1c8fc549333a sys/arch/zaurus/conf/GENERIC
--- a/sys/arch/zaurus/conf/GENERIC Thu Feb 07 13:48:27 2019 +0000
+++ b/sys/arch/zaurus/conf/GENERIC Thu Feb 07 20:33:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.80 2019/02/06 11:58:32 rin Exp $
+# $NetBSD: GENERIC,v 1.81 2019/02/07 20:33:44 rin Exp $
#
# GENERIC machine description file
#
@@ -308,6 +308,7 @@
# USB Ethernet adapters
aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
axe* at uhub? port ? # ASIX AX88172 based adapters
+axen* at uhub? port ? # ASIX AX88178a/AX88179 based adapters
cdce* at uhub? port ? # CDC, Ethernet Networking Control Model
cue* at uhub? port ? # CATC USB-EL1201A based adapters
kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters
@@ -315,6 +316,8 @@
udav* at uhub? port ? # Davicom DM9601 based adapters
ure* at uhub? port ? # Realtek RTL8152/RTL8153 based adapters
url* at uhub? port ? # Realtek RTL8150L based adapters
+urndis* at uhub? port ? # Microsoft RNDIS specification
+usmsc* at uhub? port ? # SMSC95xx based adapters
# Kyocera AIR-EDGE PHONE
#ukyopon* at uhub? port ?
@@ -324,32 +327,11 @@
ugen* at uhub? port ?
# MII/PHY support
-acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs
-amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs
-bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs
-brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs
-dmphy* at mii? phy ? # Davicom DM9101 PHYs
-exphy* at mii? phy ? # 3Com internal PHYs
-glxtphy* at mii? phy ? # Level One LXT-1000 PHYs
-gphyter* at mii? phy ? # NS83861 Gig-E PHY
-icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
-inphy* at mii? phy ? # Intel 82555 PHYs
-iophy* at mii? phy ? # Intel 82553 PHYs
-lxtphy* at mii? phy ? # Level One LXT-970 PHYs
-makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs
-nsphy* at mii? phy ? # NS83840 PHYs
-nsphyter* at mii? phy ? # NS83843 PHYs
-pnaphy* at mii? phy ? # generic HomePNA PHYs
-qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
rgephy* at mii? phy ? # Realtek 8169S/8110S/8211 PHYs
rlphy* at mii? phy ? # Realtek 8139/8201L PHYs
-sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
-tlphy* at mii? phy ? # ThunderLAN PHYs
-tqphy* at mii? phy ? # TDK Semiconductor PHYs
ukphy* at mii? phy ? # generic unknown PHYs
urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs
-
# integrated MMC/SD contoller
pxamci0 at pxaip? addr 0x41100000 size 0x48
sdmmc* at pxamci?
diff -r 6ab1f32654c6 -r 1c8fc549333a sys/arch/zaurus/conf/INSTALL
--- a/sys/arch/zaurus/conf/INSTALL Thu Feb 07 13:48:27 2019 +0000
+++ b/sys/arch/zaurus/conf/INSTALL Thu Feb 07 20:33:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.37 2018/06/07 13:36:29 thorpej Exp $
+# $NetBSD: INSTALL,v 1.38 2019/02/07 20:33:44 rin Exp $
#
# INSTALL config file (GENERIC with memory disk root)
#
@@ -78,16 +78,6 @@
no uk* at scsibus?
-no acphy*
-no amhphy*
-no bmtphy*
-no glxtphy*
-no gphyter*
-no makphy*
-no tlphy*
-no tqphy*
-no urlphy*
-
no pseudo-device vnd
no options VND_COMPRESSION
no pseudo-device accf_data
diff -r 6ab1f32654c6 -r 1c8fc549333a sys/arch/zaurus/conf/INSTALL_C700
--- a/sys/arch/zaurus/conf/INSTALL_C700 Thu Feb 07 13:48:27 2019 +0000
+++ b/sys/arch/zaurus/conf/INSTALL_C700 Thu Feb 07 20:33:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL_C700,v 1.7 2019/02/06 11:58:32 rin Exp $
+# $NetBSD: INSTALL_C700,v 1.8 2019/02/07 20:33:44 rin Exp $
#
# INSTALL config file (C700 with memory disk root)
#
@@ -39,6 +39,7 @@
no aue*
no axe*
+no axen*
no cdce*
no cue*
no kue*
@@ -46,3 +47,5 @@
no udav*
no ure*
no url*
+no urndis*
+no usmsc*
Home |
Main Index |
Thread Index |
Old Index