List Info

Thread: How do you patch a driver?




How do you patch a driver?
user name
2005-10-03 04:33:48
Hello Subhro,

Thanks for your help. From the link I have the following
files:

ata-mk3m.diff-current.gz (2k)
ata-mk3m.diff-releng5.gz (2k)
ata-mk3m.tar.gz (100k)
ata-mk3n-releng5.tar.gz (113k)
ata-mk3n.diff-releng5.gz (2k)

Which file should I be using? Is 'current' better than
'releng5'? Do I also
need to download a pair of files: ata-mk3m.diff-current.gz
with
ata-mk3m.tar.gz?

Sorry, but I am quite confused with kernal patching.
Recompiling yes, but
never patched in my life.


----- Original Message ----- 
From: "Subhro" <subhro.kargmail.com>
To: "Foo Ji-Haw" <jhfoonexlabs.com>
Cc: <freebsd-questionsfreebsd.org>
Sent: Monday, October 03, 2005 11:53 AM
Subject: Re: How do you patch a driver?


> Foo Ji-Haw sat at his 'puter and typed on 10/3/2005
8:46:
> > Hello Gheorghe,
> >
> > I read with interest your success in getting your
Adaptec 1210SA to work
on FreeBSD. In your email you wrote that you downloaded
patches to the
driver code (and recompiled the kernel?) from
http://people.free
bsd.org/~sos/ATA
> >
> > I downloaded the files myself, but am not sure how
to proceed from
there. Can you please give me some pointers on the next
steps?
> >
> > Appreciate your help, thanks!
> > _______________________________________________
> > freebsd-questionsfreebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> > To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
> >
> >
> The general way to patch a driver is patch -p0 <
patch_file. The patch
> file is to be copied in the first level directory of
the source code.
>
> Thanks
> S.
>
> -- 
>
-----------------+------------------------------------------
-------
>                |                 Subhro Sankha Kar
>          /      |    GSM: +919831064613  --  Fax:
+919831832913
>        ./ |    MSN:subhrosubhro.org  --  Yahoo:
subhro82
>       (0Y0) |    ICQ: 203567534         --  AIM:
bsdboy1982
>
--ooO--(_)--Ooo--+------------------------------------------
-------
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )