git config --global user.name "Peter Holik"
git config --global user.email "peter AT holik.at"
check kernel out with git
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
first i had to export usbnet_get_ethernet_addr from usbnet.c
and to fix cdc_ether.c
git commit -am "export get_ethernet_addr from cdc.ether.c in usbnet"
then copy my new driver int51x1.c to /usr/src/linux-2.6/drivers/net/usb/ and modify /usr/src/linux-2.6/drivers/net/usb/Kconfig and /usr/src/linux-2.6/drivers/net/usb/Makefile
git add /usr/src/linux-2.6/drivers/net/usb/int51x1.c
git commit -am "usb driver for intellon int51x1 based PLC like devolo dlan duo"
git format-patch -s origin/master
Then mail the created file to linux kernel mailinglist:
cat 0001-export-usbnet_get_ethernet_addr-from-usbnet-and-fixe.patch | \
mail linux-kernel@vger.kernel.org
cat 0002-usb-driver-for-intellon-int51x1-based-PLC-like-devol.patch | \
mail linux-kernel@vger.kernel.org
Many thanks to the guys at linux-kernel@vger.kernel.org for suggestions and improvements.
Undo last commit with git reset --soft HEAD^
My driver will be part of linux kernel 2.6.31
git quick reference
[ view entry ] ( 1158 views ) | print article
<<First <Back | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next> Last>>