1 2 3 4 5 6
int attachdev(Port*); void detachdev(Port*); void work(void); Hub* newhub(char *, Dev *); void hname(char *); void checkidle(void);