Description: PCI Express UART driver patch.
O.S.: Linux 2.6. This patch has been developed on the 2.6.17.7 Linux Kernel
To apply the patch:-
1. Copy the 'serial' folder (linux-2.6.xx.xx/drivers/serial) into your working directory.
2. Paste the patch file into the serial forlder.
3. Open a terminal and enter the serial folder.
4. To apply the patch, enter the following command:
patch -p0 < tornado_p1_uart_linux2.6
5. To build the patched file enter the following command:
make -C /usr/src/linux-2.6.xx.xx M=$PWD modules
6. To insert the newly built 8250_pci.ko module you will have to remove the original (unpatched) module from the system. To remove the module use the following command:
rmmod 8250_pci
6. Before inserting the new module it is useful to open a log file. When a new module is inserted, the log file will get updated. To view the log file use the command:
tail -f /var/log/messages
7. To insert the newly built module use the following command:
insmod 8250_pci.ko
с чего же начать? вот стоит у меня Mandriva 2008. Я так понял, что мне надо иметь исходнки ядра или как?