atl2_init(devind);
/* Notify Inet of our presence, if it has already been started. */
- r = ds_retrieve_u32("inet", &inet_endpt);
+ r = ds_retrieve_label_num("inet", &inet_endpt);
if (r == OK)
notify(inet_endpt);
else if (r != ESRCH)
- printf("ATL2: ds_retrieve_u32 failed for 'inet': %d\n", r);
+ printf("ATL2: ds_retrieve_label_num failed for 'inet': %d\n",
+ r);
#if ATL2_FKEY
/* Register debug dump function key. */
panic("e1000", "tsc_calibrate failed", r);
}
/* Try to notify inet that we are present (again) */
- if ((r = ds_retrieve_u32("inet", &tasknr)) == OK)
+ if ((r = ds_retrieve_label_num("inet", &tasknr)) == OK)
{
notify(tasknr);
}
else if (r != ESRCH)
{
- printf("e1000: ds_retrieve_u32 failed for 'inet': %d\n", r);
+ printf("e1000: ds_retrieve_label_num failed for 'inet': %d\n", r);
}
return(OK);
driver[DRIVER_MAIN].label = MAIN_LABEL;
driver[DRIVER_MAIN].minor = MAIN_MINOR;
- r = ds_retrieve_u32(driver[DRIVER_MAIN].label,
+ r = ds_retrieve_label_num(driver[DRIVER_MAIN].label,
(u32_t *) &driver[DRIVER_MAIN].endpt);
if (r != OK) {
printf("Filter: failed to get main disk driver's endpoint: "
panic(__FILE__, "same driver: not tested", NO_NUM);
}
- r = ds_retrieve_u32(driver[DRIVER_BACKUP].label,
+ r = ds_retrieve_label_num(driver[DRIVER_BACKUP].label,
(u32_t *) &driver[DRIVER_BACKUP].endpt);
if (r != OK) {
printf("Filter: failed to get backup disk driver's "
int r;
endpoint_t endpt;
- r = ds_retrieve_u32(driver[which].label, (u32_t *) &endpt);
+ r = ds_retrieve_label_num(driver[which].label, (u32_t *) &endpt);
if (r != OK) {
printf("Filter: DS query for %s failed\n",
if(w) flt_sleep(1);
w = 1;
- r = ds_retrieve_u32(driver[which].label, (u32_t *) &endpt);
+ r = ds_retrieve_label_num(driver[which].label,
+ (u32_t *) &endpt);
#if DEBUG2
if (r != OK)
eth_ign_proto= htons((u16_t) v);
/* Try to notify inet that we are present (again) */
- r= ds_retrieve_u32("inet", &tasknr);
+ r= ds_retrieve_label_num("inet", &tasknr);
if (r == OK)
notify(tasknr);
else if (r != ESRCH)
- printf("lance: ds_retrieve_u32 failed for 'inet': %d\n", r);
+ printf("lance: ds_retrieve_label_num failed for 'inet': %d\n", r);
return(OK);
}
if (r == OK)
notify(inet_proc_nr);
else if (r != ESRCH)
- printf("rtl8139: ds_retrieve_label_num failed for 'inet': %d\n", r);
+ printf("rtl8139: ds_retrieve_label_num failed for 'inet': %d\n",
+ r);
return(OK);
}
* not yet alive.
*/
#if 0
- r = ds_retrieve_u32("inet", &inet_proc_nr);
+ r = ds_retrieve_label_num("inet", &inet_proc_nr);
if (r == OK)
notify(inet_proc_nr);
else if (r != ESRCH)
- printf("rtl8169: ds_retrieve_u32 failed for 'inet': %d\n", r);
+ printf("rtl8169: ds_retrieve_label_num failed for 'inet': %d\n",
+ r);
#endif
return(OK);
return(EINVAL);
}
- r = ds_retrieve_u32(fs_dev_label, &tasknr);
+ r = ds_retrieve_label_num(fs_dev_label, &tasknr);
if (r != OK) {
- printf("ISOFS %s:%d ds_retrieve_u32 failed for '%s': %d\n",
+ printf("ISOFS %s:%d ds_retrieve_label_num failed for '%s': %d\n",
__FILE__, __LINE__, fs_dev_label, r);
return(EINVAL);
}