[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-cvs
Subject: [IPCop-cvs] ipcop/tools prepareIDmap.sh,1.1.2.3,1.1.2.4
From: Olaf Westrik <owes () users ! sourceforge ! net>
Date: 2009-11-18 21:00:11
Message-ID: E1NArdL-0006q8-An () 23jxhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/ipcop/ipcop/tools
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26191/tools
Modified Files:
Tag: IPCOP_v1_4_0
prepareIDmap.sh
Log Message:
Modify list creation for Trac Wiki
Index: prepareIDmap.sh
===================================================================
RCS file: /cvsroot/ipcop/ipcop/tools/Attic/prepareIDmap.sh,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -d -r1.1.2.3 -r1.1.2.4
*** prepareIDmap.sh 5 Apr 2007 11:33:50 -0000 1.1.2.3
--- prepareIDmap.sh 18 Nov 2009 21:00:08 -0000 1.1.2.4
***************
*** 1,5 ****
#!/bin/bash
! echo "prepare pci and usb maps for publication on the wiki"
if [ ! -s build/lib/modules ]; then
echo "use this tool at top level after full compilation with \
./tools/prepareIDmap.sh"
--- 1,5 ----
#!/bin/bash
! echo "prepare pci and usb maps for publication on the Trac wiki"
if [ ! -s build/lib/modules ]; then
echo "use this tool at top level after full compilation with \
./tools/prepareIDmap.sh"
***************
*** 12,27 ****
sed -e '/module/d' build/lib/modules/$KVER/modules.pcimap | sort > doc/tmpmap1.txt
! # cells are seperated by ;
! # CnxADSL is interpreted as link, fix that
sed -i -e 's/ */ /g' \
! -e 's/ /;/g' \
! -e 's/^/;/' \
! -e 's/|#|/;/' \
! -e 's/CnxADSL/!CnxADSL/' \
doc/tmpmap1.txt
- # get rid of LF character
- tr -d "\n" < doc/tmpmap1.txt > doc/tmpmap2.txt
-
# add comment
echo "PCI id from $KVER compilation `date +'%Y-%m-%d'`" > doc/PCIidmap.txt
--- 12,25 ----
sed -e '/module/d' build/lib/modules/$KVER/modules.pcimap | sort > doc/tmpmap1.txt
! # cells are seperated by ||
! # r1000/r8169 are interpreted as link, fix that
sed -i -e 's/ */ /g' \
! -e 's/ / || /g' \
! -e 's/^/|| /' \
! -e 's/|#|/ || /' \
! -e 's/r1000/!r1000/' \
! -e 's/r8169/!r8169/' \
doc/tmpmap1.txt
# add comment
echo "PCI id from $KVER compilation `date +'%Y-%m-%d'`" > doc/PCIidmap.txt
***************
*** 29,39 ****
# add table header
! echo -n "{{table columns=\"8\" cells=\"==pci \
module==;==vendor==;==device==;==subvendor==;==subdevice==;==class==;==class_mask==;==driver_data==" \
\
! >> doc/PCIidmap.txt
!
! cat doc/tmpmap2.txt >> doc/PCIidmap.txt
! # and table terminator
! echo -n "\"}}" >> doc/PCIidmap.txt
--- 27,34 ----
# add table header
! echo "|| '''pci module''' || '''vendor''' || '''device''' || '''subvendor''' || \
'''subdevice''' || '''class''' || '''class_mask''' || \
'''driver_data''' ||" \
! >> doc/PCIidmap.txt
! cat doc/tmpmap1.txt >> doc/PCIidmap.txt
***************
*** 41,54 ****
sed -e '/module/d' build/lib/modules/$KVER/modules.usbmap | sort > doc/tmpmap1.txt
! # cells are seperated by ;
sed -i -e 's/ */ /g' \
! -e 's/ /;/g' \
! -e 's/^/;/' \
! -e 's/|#|/;/' \
doc/tmpmap1.txt
- # get rid of LF character
- tr -d "\n" < doc/tmpmap1.txt > doc/tmpmap2.txt
-
# add comment
echo "USB id from $KVER compilation `date +'%Y-%m-%d'`" > doc/USBidmap.txt
--- 36,46 ----
sed -e '/module/d' build/lib/modules/$KVER/modules.usbmap | sort > doc/tmpmap1.txt
! # cells are seperated by ||
sed -i -e 's/ */ /g' \
! -e 's/ / || /g' \
! -e 's/^/|| /' \
! -e 's/|#|/ || /' \
doc/tmpmap1.txt
# add comment
echo "USB id from $KVER compilation `date +'%Y-%m-%d'`" > doc/USBidmap.txt
***************
*** 56,70 ****
# add table header
! echo -n "{{table columns=\"13\" cells=\"==usb \
module==;==match_flags==;==idVendor==;==idProduct==;==bcdDevice_lo==;==bcdDevice_hi==; \
==b!DeviceClass==;==b!DeviceSubClass==;==b!DeviceProtocol==;==b!InterfaceClass==;==b!InterfaceSubClass==;==b!InterfaceProtocol==;==driver_info==" \
\ >> doc/USBidmap.txt
! cat doc/tmpmap2.txt >> doc/USBidmap.txt
!
! # and table terminator
! echo -n "\"}}" >> doc/USBidmap.txt
# clean up
rm doc/tmpmap1.txt
- rm doc/tmpmap2.txt
echo "Result send in doc directory"
--- 48,60 ----
# add table header
! echo "|| '''usb module''' || '''match_flags''' || '''idVendor''' || '''idProduct''' \
|| '''bcdDevice_lo''' || '''bcdDevice_hi''' || '''bDeviceClass''' || \
'''bDeviceSubClass''' || '''bDeviceProtocol''' || '''bInterfaceClass''' || \
'''bInterfaceSubClass''' || '''bInterfaceProtocol''' || '''driver_info''' ||" \ \
>> doc/USBidmap.txt
! cat doc/tmpmap1.txt >> doc/USBidmap.txt
# clean up
rm doc/tmpmap1.txt
echo "Result send in doc directory"
+ echo "PCI: https://sourceforge.net/apps/trac/ipcop/wiki/PciIDMap"
+ echo "USB: https://sourceforge.net/apps/trac/ipcop/wiki/UsbIDMap"
\ No newline at end of file
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
IPCop-cvs mailing list
IPCop-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic