Remove the World's ugliest mutex implementation

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Do not try to compile HalPhy.o - it no longer exists

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove get_next() macro

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove private renamed version of container_of() macro

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Fixup container_of() usage

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove yet another silly typedef

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Elminate multiple layers of wrappers for work handling

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Proper mutexes have been available since 2007 or so

Remove all the silly wrapping of them

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove some le{16,32}_ wrappers as well as generic.h

generic.h is an old version of Linux's byteorder handling macros,
totally unnecessary to include here.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Clean up core I/O functions

This should make it easier to convert them to inlines later

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove msleep() wrapper

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Remove duplicate ethernet definitions

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>