From f3cbe8897c97db4111648f762ccc052f7c9fd189e89ab56b4bcb837ff4f98a03 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Mon, 5 Oct 2009 10:40:22 +0000 Subject: [PATCH] Accepting request 21697 from home:michal-m:branches:Kernel:HEAD Copy from home:michal-m:branches:Kernel:HEAD/kernel-firmware via accept of submit request 21697 revision 2. Request was accepted with message: reviewed ok. OBS-URL: https://build.opensuse.org/request/show/21697 OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-firmware?expand=0&rev=7 --- firmware-supplements.sh | 75 ++++++++++ firmware-supplements.txt | 291 +++++++++++++++++++++++++++++++++++++++ kernel-firmware.changes | 5 + kernel-firmware.spec | 20 +-- 4 files changed, 375 insertions(+), 16 deletions(-) create mode 100644 firmware-supplements.sh create mode 100644 firmware-supplements.txt diff --git a/firmware-supplements.sh b/firmware-supplements.sh new file mode 100644 index 0000000..3dddb20 --- /dev/null +++ b/firmware-supplements.sh @@ -0,0 +1,75 @@ +#!/bin/sh +# +# Generate Supplements: lines for the kernel-firmware package, by looking at +# the firmware: and alias: fields of kernel modules. Ideally, this script +# should be run automatically during each build, the problem is that +# kernel-firmware is a noarch package, but the kernel packages differ among +# architectures, so the results could change randomly. For now, run this +# script manually against the i586 desktop kernel, like this +# +# $ tar xf linux-firmware-$version.tar.bz2 +# $ ./firmware-supplements.sh linux-firmware-$version \ +# kernel-desktop-*.i586.rpm >firmware-supplements.txt + +USAGE="$0 [kernel directory] +$0 kernel.rpm" +usage() +{ + echo "$USAGE" >&2 + exit 1 +} + +fw_dir="$1" +kernel="$2" + +if ! test -d "$fw_dir"; then + usage +fi + +trap 'rm -rf "$tmp"' EXIT +tmp=$(mktemp -d) + +get_kernel_dir() +{ + # default + if test -z "$kernel"; then + kernel="/lib/modules/$(uname -r)/kernel" + if ! test -d "$kernel"; then + echo "No kernel found below /lib/modules/$(uname -r)" >&2 + usage + fi + return + fi + # /lib/modules/$version ? + if test -d "$kernel/kernel"; then + kernel="$_" + return + fi + # just $version ? + if test -d "/lib/modules/$kernel/kernel"; then + kernel="$_" + return + fi + # a kernel rpm? + case "$kernel" in + *.rpm) + mkdir "$tmp/kernel" + rpm2cpio "$kernel" | (cd "$tmp/kernel"; cpio -id) + kernel="$tmp/kernel" + return + esac + usage +} + +get_kernel_dir + +find "$kernel" -name '*.ko' -type f | while read ko; do + firmware=$(/sbin/modinfo -F firmware "$ko") + for fw in $firmware; do + if test -f "$fw_dir/$fw"; then + echo "$ko" + break + fi + done +done | sort | /usr/lib/rpm/find-supplements.ksyms | \ +sed 's/^modalias(kernel-[^:]*:/modalias(/' # strip the kernel-$flavor: prefix diff --git a/firmware-supplements.txt b/firmware-supplements.txt new file mode 100644 index 0000000..6e5fd4a --- /dev/null +++ b/firmware-supplements.txt @@ -0,0 +1,291 @@ +modalias(eisa:sABP7[45]01*) +modalias(pci:v0000100Bd00000035sv*sd*bc*sc*i*) +modalias(pci:v00001011d0000001Asv*sd*bc02sc00i*) +modalias(pci:v0000106Bd00001645sv*sd*bc*sc*i*) +modalias(pci:v00001073d0000000[4ACD]sv*sd*bc*sc*i*) +modalias(pci:v00001073d0000001[02]sv*sd*bc*sc*i*) +modalias(pci:v00001077d00001016sv*sd*bc*sc*i*) +modalias(pci:v00001077d000010[28]0sv*sd*bc*sc*i*) +modalias(pci:v00001077d00001216sv*sd*bc*sc*i*) +modalias(pci:v00001077d000012[48]0sv*sd*bc*sc*i*) +modalias(pci:v00001077d00002[123]00sv*sd*bc*sc*i*) +modalias(pci:v00001077d000023[12]2sv*sd*bc*sc*i*) +modalias(pci:v00001077d000024[23]2sv*sd*bc*sc*i*) +modalias(pci:v00001077d00002532sv*sd*bc*sc*i*) +modalias(pci:v00001077d000054[23]2sv*sd*bc*sc*i*) +modalias(pci:v00001077d000063[12]2sv*sd*bc*sc*i*) +modalias(pci:v00001077d00008001sv*sd*bc*sc*i*) +modalias(pci:v00001077d00008432sv*sd*bc*sc*i*) +modalias(pci:v0000108Ed0000ABBAsv*sd*bc*sc*i*) +modalias(pci:v000010A9d00000009sv*sd*bc02sc00i*) +modalias(pci:v000010B5d0000906Dsv*sd*bc*sc*i*) +modalias(pci:v000010B7d00000001sv*sd*bc02sc00i*) +modalias(pci:v000010B7d00003590sv*sd*bc*sc*i*) +modalias(pci:v000010B7d0000990[023]sv*sd*bc*sc*i*) +modalias(pci:v000010B7d00009904sv*sd00001000bc*sc*i*) +modalias(pci:v000010B7d00009904sv*sd00001102bc*sc*i*) +modalias(pci:v000010B7d00009904sv*sd00002000bc*sc*i*) +modalias(pci:v000010B7d00009905sv*sd0000110[12]bc*sc*i*) +modalias(pci:v000010B7d00009905sv*sd0000210[12]bc*sc*i*) +modalias(pci:v000010B7d0000990[89A]sv*sd*bc*sc*i*) +modalias(pci:v000010CDd00001[123]00sv*sd*bc*sc*i*) +modalias(pci:v000010CDd00002[357]00sv*sd*bc*sc*i*) +modalias(pci:v00001131d00007146sv0000110Asd00000000bc*sc*i*) +modalias(pci:v00001131d00007146sv000013C2sd0000000[0123468AE]bc*sc*i*) +modalias(pci:v00001131d00007146sv000013C2sd00001002bc*sc*i*) +modalias(pci:v00001148d00004[45]00sv*sd*bc*sc*i*) +modalias(pci:v0000125Dd0000198[89]sv*sd*bc04sc01i*) +modalias(pci:v0000125Dd0000199[0289AB]sv*sd*bc04sc01i*) +modalias(pci:v000012AEd0000000[12]sv*sd*bc02sc00i*) +modalias(pci:v000012AEd000000FAsv*sd*bc02sc00i*) +modalias(pci:v00001385d00006[23]0Asv*sd*bc02sc00i*) +modalias(pci:v000014E4d0000160[01]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000163[9ABC]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000164[456789A]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000164Asv0000103Csd0000310[16]bc*sc*i*) +modalias(pci:v000014E4d0000164[CD]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000165[3489ABDE]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000166[89ABE]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000167[2346789ABCDEF]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000168[01489C]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000169[023468ABCD]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d000016A[678A]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*) +modalias(pci:v000014E4d000016ACsv*sd*bc*sc*i*) +modalias(pci:v000014E4d000016C[67]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d000016DDsv*sd*bc*sc*i*) +modalias(pci:v000014E4d000016F[7DE]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000170[DE]sv*sd*bc*sc*i*) +modalias(pci:v000014E4d0000171[23]sv*sd*bc*sc*i*) +modalias(pci:v0000173Bd000003E[89AB]sv*sd*bc*sc*i*) +modalias(pci:v00001814d0000030[12]sv*sd*bc*sc*i*) +modalias(pci:v00001814d00000401sv*sd*bc*sc*i*) +modalias(pci:v00008086d00000082sv*sd*bc*sc*i*) +modalias(pci:v00008086d00000082sv*sd000011[02]2bc*sc*i*) +modalias(pci:v00008086d0000008[345]sv*sd*bc*sc*i*) +modalias(pci:v00008086d00000085sv*sd00001112bc*sc*i*) +modalias(pci:v00008086d0000008[6789]sv*sd*bc*sc*i*) +modalias(pci:v00008086d00001029sv*sd*bc02sc00i*) +modalias(pci:v00008086d0000103[0123489ABCDE]sv*sd*bc02sc00i*) +modalias(pci:v00008086d0000105[012345679]sv*sd*bc02sc00i*) +modalias(pci:v00008086d0000106[456789AB]sv*sd*bc02sc00i*) +modalias(pci:v00008086d0000109[12345]sv*sd*bc02sc00i*) +modalias(pci:v00008086d000010FEsv*sd*bc02sc00i*) +modalias(pci:v00008086d000012[02]9sv*sd*bc02sc00i*) +modalias(pci:v00008086d000024[45]9sv*sd*bc02sc00i*) +modalias(pci:v00008086d0000245Dsv*sd*bc02sc00i*) +modalias(pci:v00008086d000027DCsv*sd*bc02sc00i*) +modalias(pci:v00008086d00004222sv*sd*bc*sc*i*) +modalias(pci:v00008086d00004222sv*sd00001005bc*sc*i*) +modalias(pci:v00008086d00004222sv*sd000010[34]4bc*sc*i*) +modalias(pci:v00008086d00004227sv*sd*bc*sc*i*) +modalias(pci:v00008086d00004227sv*sd00001014bc*sc*i*) +modalias(pci:v00008086d0000422[9BC]sv*sd*bc*sc*i*) +modalias(pci:v00008086d0000423[02]sv*sd*bc*sc*i*) +modalias(pci:v00008086d00004232sv*sd0000120[56]bc*sc*i*) +modalias(pci:v00008086d00004232sv*sd0000130[56]bc*sc*i*) +modalias(pci:v00008086d00004232sv*sd00001326bc*sc*i*) +modalias(pci:v00008086d0000423[567]sv*sd*bc*sc*i*) +modalias(pci:v00008086d00004237sv*sd00001216bc*sc*i*) +modalias(pci:v00008086d0000423[89]sv*sd*bc*sc*i*) +modalias(pci:v00008086d0000423Asv*sd000010[02]1bc*sc*i*) +modalias(pci:v00008086d0000423Bsv*sd00001011bc*sc*i*) +modalias(pci:v00008086d0000423[CD]sv*sd*bc*sc*i*) +modalias(pci:v00009004d00006915sv*sd*bc*sc*i*) +modalias(pcmcia:m*c*f*fn*pfn*pa0C2F80CDpb194B650Apc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa0C2F80CDpbB3466314pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa23C78A9Dpb00B2E941pcCEF397FBpd*) +modalias(pcmcia:m*c*f*fn*pfn*pa281F1C5DpbDCEA68BCpc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa33234748pb3C95B953pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa4EF00B21pb844BE9E9pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa58D93FC4pb244734E9pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa6A26D1CFpbC16CE9C5pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*pa78F308DCpbDCEA68BCpc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*paA2CD8E6Dpb42DA662Apc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*paC4F8B18Bpb4A0EEB2Dpc*pd*) +modalias(pcmcia:m*c*f*fn*pfn*paE59365C8pb6A2161D1pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn00pa0C2F80CDpb656947B9pc*pd*) +modalias(pcmcia:m*c*f*fn*pfn00pa0C2F80CDpbDC9BA5EDpc*pd*) +modalias(pcmcia:m*c*f*fn*pfn00paDD9989BEpb662C394Cpc*pd*) +modalias(pcmcia:m*c*f*fn*pfn00paF510DB04pb0143B773pc46A52D63pd*) +modalias(pcmcia:m*c*f*fn*pfn00paF510DB04pb04CD2988pc46A52D63pd*) +modalias(pcmcia:m*c*f*fn*pfn00paF510DB04pb52D21E1Epc*pd*) +modalias(pcmcia:m*c*f*fn*pfn00paF510DB04pb52D21E1EpcBD6C43EFpd*) +modalias(pcmcia:m*c*f*fn*pfn00paF510DB04pb856D66C8pcBD6C43EFpd*) +modalias(pcmcia:m0109c0501f*fn*pfn00pa*pb*pc*pd*) +modalias(pcmcia:m0140c000Af*fn*pfn00pa*pb*pc*pd*) +modalias(pcmcia:m016Cc0020f*fn00pfn*pa*pb*pc*pd*) +modalias(pcmcia:m016Cc0023f*fn*pfn*pa*pb*pc*pd*) +modalias(usb:v03E8p0008d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0404p020[23]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0404p031[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0411p00[DE]8d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0411p00F4d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0411p011[69]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0411p012Ed*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0451p3410d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0451p505[2AF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0451p5152d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0451pF430d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0471p200[AF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04B3p454[3BC]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04BBp0901d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04BBp093[DF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04BBp0945d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04C1p009Dd*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04E8p2018d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v04E8p4471d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0506p03E8d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0506p11F8d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v050Dp705[0A]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v050Dp805[3C]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v050Dp815Cd*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v050Dp825Ad*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v050Dp905[BC]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0557p2002d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0557p4000d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0565p000[235]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v057Cp840[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0586p341[567A]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v05D9pA225d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v05D9pA758d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v05D9pA794d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v05E9p000[89]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0602p1001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v066Bp2202d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06CDp010[12356789ABCF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06CDp011[0234589ABC]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06CDp012[1A]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06CDp013[15]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06E0pF10[89]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06E0pF11[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06E1p000[89]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v06F8pE0[12]0d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0707p0100d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0710p[08]001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0769p31F3d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0789p016[234]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07AAp0001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07AAp002[EF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07AAp003[CF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07B8p2[78]70d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07B8p307[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07B8p4000d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07B8pB21[BCDEF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07D1p3C0[34679ABDEF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v07D1p3C1[013]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083Ap6618d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083Ap751[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083Ap[78]522d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083ApA512d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083ApA618d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v083Ap[BCF]522d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0846p100[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0846p9001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0846p9010d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v085Ap000[89]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v086Ap010[02]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v086Ap0110d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v087Dp5704d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v08DDp0120d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0951p0008d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v095Ap3003d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0ACEp1221d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0B05p172[34]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0B05p173[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0B05p1742d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0B05p176[01]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0B48p100[345]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0CDEp001Cd*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0CDEp002[2356]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0CF3p1001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0CF3p9170d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DB0p3820d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DB0p687[47]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DB0p6899d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DB0pA861d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DB0pA874d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p0017d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p002[47BCDF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p003[9BCDEF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p004[02]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p90ACd*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0DF6p9712d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0E0Bp90[34]1d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0E66p000[139B]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v0EB0p9021d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v100Dp903[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1044p800[8ABCD]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v10BDp1427d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v129Bp1828d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1342p0204d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1371p90[23]2d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13B1p002[038]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13D2p0400d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13D3p3247d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13D3p3262d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13D3p3273d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v13D3p3284d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1472p0009d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1482p3C09d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1485p000[12]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp2070d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp2573d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp2671d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp2[78]70d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp307[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp3572d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v148Fp9021d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v14B2p3C0[6789]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v14B2p3C1[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v14B2p3C2[23578]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v157Ep300Ed*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v15A9p000[46]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v15A9p0010d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v15C5p0008d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p000[12345678CDEF]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p001[0123489A]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p020[1567CD]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p021[257ABCDE]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p024[012347]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p030[123456789ABCE]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1608p1403d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1631pC019d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1645p000[58]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1645p8005d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1668p0323d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1690p0722d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1737p007[017]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1740p06[01]5d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1740p3701d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1740p7100d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1740p970[12356]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1740p9801d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v177Fp0153d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v177Fp0302d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v177Fp0313d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18C5p000[28]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18C5p0012d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18E8p6196d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18E8p6229d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18E8p6238d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v18E8p6259d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1A32p0304d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1B75p3072d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1D4Dp000[2CE]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v1EDAp2310d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2001p4000d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2019p5304d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2019pAB01d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2019pAB2[45]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2019pAB50d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v2019pED06d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v203Dp1480d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v5A57p028[023]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v5A57p5257d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v6933p5001d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v7392p7[36]18d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v7392p771[178]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v8086p018[012]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:v8086p140[356]d*dc*dsc*dp*ic*isc*ip*) +modalias(usb:vCACEp0300d*dc*dsc*dp*ic*isc*ip*) diff --git a/kernel-firmware.changes b/kernel-firmware.changes index 071e408..570948d 100644 --- a/kernel-firmware.changes +++ b/kernel-firmware.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 5 12:36:28 CEST 2009 - mmarek@suse.cz + +- Add a script to semi-automatically generate modalias supplements. + ------------------------------------------------------------------- Mon Oct 5 11:01:09 CEST 2009 - mmarek@suse.cz diff --git a/kernel-firmware.spec b/kernel-firmware.spec index 761d238..6db0d46 100644 --- a/kernel-firmware.spec +++ b/kernel-firmware.spec @@ -26,6 +26,10 @@ License: NON-OSI-COMPLIANT(no modification) ; GPL v2 only ; GPL v2 or lat Group: System/Kernel Url: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/ Source0: linux-firmware-%{version}.tar.bz2 +# remember to run this after each update and after each major kernel update +Source1: firmware-supplements.sh +source2: firmware-supplements.txt +%define __find_supplements cat %_sourcedir/firmware-supplements.txt BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Provides: qlogic-firmware @@ -42,22 +46,6 @@ Provides: iwl5000-ucode Obsoletes: iwl5000-ucode Provides: iwl5150-ucode Obsoletes: iwl5150-ucode -# supplements from the iwl* packages. We need to find a way how to -# generate this automatically -Supplements: modalias(pci:v00008086d0000422[27]sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004229sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004230sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d0000423Asv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004237sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004236sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004235sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd*bc*sc*i*) -Supplements: modalias(pci:v00008086d00004237sv*sd00001216bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd00001326bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd00001306bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd00001206bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd00001305bc*sc*i*) -Supplements: modalias(pci:v00008086d00004232sv*sd00001205bc*sc*i*) %description This package contains the firmware for in-kernel drivers that was