Re: Build a single kernel module?

2008-04-24 Thread Wojciech Puchar

today. The new card is a D-link DGE-530T which shall work with the 'sk'
driver. My custom kernel does not have this driver.

I wonder if I can build this single driver as a module to use with my already


cd /usr/src/sys/modules/whatyouwant
make

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build a single kernel module?

2008-04-24 Thread darren kirby
quoth the Wojciech Puchar:
  today. The new card is a D-link DGE-530T which shall work with the 'sk'
  driver. My custom kernel does not have this driver.
 
  I wonder if I can build this single driver as a module to use with my
  already

 cd /usr/src/sys/modules/whatyouwant
 make


Thanks, I will remember this for the future.
-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Build a single kernel module?

2008-04-23 Thread darren kirby
Hi all,

I recently built a custom kernel for my new FreeBSD 7.0-RELEASE system, and it 
is working well. Sadly, I had to purchase and swap out a nic on this machine 
today. The new card is a D-link DGE-530T which shall work with the 'sk' 
driver. My custom kernel does not have this driver.

I wonder if I can build this single driver as a module to use with my already 
built custom kernel. The handbook mentions using MODULES_OVERRIDE: If you 
want to update a kernel faster or to build only custom modules, you should 
edit /etc/make.conf before starting to build the kernel

So as I understand it, if I add MODULES_OVERRIDE = sk to make.conf then it 
will build only the sk module? The page [0] is light on details so I am 
unsure hoe to proceed with this, ie: I just do a normal 'make installkernel' 
or some other way?

Also, I did look around, but if there are some docs that speak more clearly to 
this issue a pointer would be great.

Thanks for consideration,
-d

[0] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[solved] Re: Build a single kernel module?

2008-04-23 Thread darren kirby
quoth the darren kirby:

Please disregard. I have realized the module is called if_sk.ko, not sk.ko, so 
it is in fact built...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]