Print this page
XXXX introduce drv_sectohz
*** 3327,3338 ****
* connects us into devfs.
*/
static void
bridge_inst_init(void)
{
! bridge_scan_interval = 5 * drv_usectohz(1000000);
! bridge_fwd_age = 25 * drv_usectohz(1000000);
rw_init(&bmac_rwlock, NULL, RW_DRIVER, NULL);
list_create(&bmac_list, sizeof (bridge_mac_t),
offsetof(bridge_mac_t, bm_node));
list_create(&inst_list, sizeof (bridge_inst_t),
--- 3327,3338 ----
* connects us into devfs.
*/
static void
bridge_inst_init(void)
{
! bridge_scan_interval = drv_sectohz(5);
! bridge_fwd_age = drv_sectohz(25);
rw_init(&bmac_rwlock, NULL, RW_DRIVER, NULL);
list_create(&bmac_list, sizeof (bridge_mac_t),
offsetof(bridge_mac_t, bm_node));
list_create(&inst_list, sizeof (bridge_inst_t),