Hi Everybody,
  I am a jackaroo to FreeBSD kernel. I have a question about how the kernel add all devices. 
  For example, in NetBSD, I can find the code in /sys/kern/init_main.c:
 /* Attach pseudo-devices. */
for (pdev = pdevinit; pdev->pdev_attach != NULL; pdev++)
              (*pdev->pdev_attach)(pdev->pdev_count);
I know the NetBSD kernel add devices(such as storage device and network device) by them.
But in FreeBSD, I can not locate the place.
which part code should I read?
Thank you.
 
Best Regards
  Ouyang Kai
 
 


Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Reply via email to