Date: Sat, 3 Jan 2009 01:50:40 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: "M. Warner Losh" <imp@bsdimp.com> Cc: current@FreeBSD.org Subject: Re: RFC: new utility, kmodpatch Message-ID: <20090103005040.GA64606@onelab2.iet.unipi.it> In-Reply-To: <20090102.163308.-1929116900.imp@bsdimp.com> References: <20090101183026.GA15385@onelab2.iet.unipi.it> <20090102.115022.1102529931.imp@bsdimp.com> <20090102210133.GA57653@onelab2.iet.unipi.it> <20090102.163308.-1929116900.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 02, 2009 at 04:33:08PM -0700, M. Warner Losh wrote: > In message: <20090102210133.GA57653@onelab2.iet.unipi.it> > Luigi Rizzo <rizzo@iet.unipi.it> writes: ... > : The usage model I expect is that people will be told something like this > : > : To support the BenQ T33 phone on FreeBSD/i386 6.x or 7.x do > : kmodpatch -t "umass.ko umass_devdescrs 4 4 4 2" - - @0 0x4050 0x4a5 0x0101 0x4200 > : > : to support the Asus M2N-Vm DVI MCP67 ethernet on FreeBSD/i386 7.x do > : kmodpatch -t "if_nfe.ko nfe_devs 2 2 s" - - @0 0x10de 0x54c - > : and please note TX flow control does not work > > This is a good interface for our users? i don't know -- in the end it is "if you trust me, cut&paste this line into a root shell" which I believe is simpler than "if you trust me, apply this patch, rebuild the kernel and reinstall" > It is interesting technology, I'm not sure it is the right tool for > the device aliasing... > It does require some extra care to introduce duplicate entries into > the table, or reserve space. or just overwrite some entry that is unused in your setting, which again does not work in 100% of the cases but it is very close to that. > With proper aliasing, we could publish > one big file that has all the new aliases since the last release and > there'd be no need to modify the leaf drivers. With these in principle yes, though that i expect that the source of info is not freebsd.org (which often does not have a chance to check/try whether an alias is correct), but rather mailing lists or other users which happen to have the same device and tried it. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103005040.GA64606>