X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=atusb%2Fmac.h;fp=atusb%2Fmac.h;h=f3c92fbdf08ae7f036b69e7d3e028df7671ffaa2;hb=dd4bc9ff49b9a7075e579fdd62fd930d27a9a7df;hp=0000000000000000000000000000000000000000;hpb=c164bf7f87f9081fee7e1a186dd7a87a9a020b9e;p=linux-libre-firmware.git diff --git a/atusb/mac.h b/atusb/mac.h new file mode 100644 index 0000000..f3c92fb --- /dev/null +++ b/atusb/mac.h @@ -0,0 +1,26 @@ +/* + * fw/mac.h - HardMAC functions + * + * Written 2011, 2013 by Werner Almesberger + * Copyright 2011, 2013 Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + +#ifndef MAC_H +#define MAC_H + +#include +#include + + +extern bool (*mac_irq)(void); + +bool mac_rx(int on); +bool mac_tx(uint16_t flags, uint8_t seq, uint16_t len); +void mac_reset(void); + +#endif /* !MAC_H */