syscalls_test.c: fleshout hwaddr

added code to return hwaddr and type in ioctl
cleaning up some formatting in device-linux.c