diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-25 14:45:29 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-25 14:45:29 +0000 |
commit | 448c4ea040ea86b6c8b1f0cc7e8217643dc68af6 (patch) | |
tree | 3e7cbcfe18addd9c2dbe018f2b42180ebe4d4947 /sys/dev/pci/if_art.c | |
parent | dd2935f9a12ffea06c640d4031d61589f2921ee4 (diff) |
Time-slot mask are u_int32_t so art_mask_tsmap() should return u_int32_t too.
While there fix a typo in a comment.
Diffstat (limited to 'sys/dev/pci/if_art.c')
-rw-r--r-- | sys/dev/pci/if_art.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_art.c b/sys/dev/pci/if_art.c index 1df1e02b014..7e3b9ecaa1f 100644 --- a/sys/dev/pci/if_art.c +++ b/sys/dev/pci/if_art.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_art.c,v 1.11 2005/12/20 15:27:48 claudio Exp $ */ +/* $OpenBSD: if_art.c,v 1.12 2006/01/25 14:45:28 claudio Exp $ */ /* * Copyright (c) 2004,2005 Internet Business Solutions AG, Zurich, Switzerland @@ -48,7 +48,7 @@ void art_ifm_status(struct ifnet *, struct ifmediareq *); int art_ifm_options(struct ifnet *, struct channel_softc *, u_int); void art_onesec(void *); void art_linkstate(void *); -u_int art_mask_tsmap(u_int, u_int32_t); +u_int32_t art_mask_tsmap(u_int, u_int32_t); struct cfattach art_ca = { sizeof(struct art_softc), art_match, art_softc_attach @@ -354,7 +354,7 @@ art_onesec(void *arg) break; case 0: link_state = LINK_STATE_DOWN; - /* set green led and red let as well */ + /* set green led and red led as well */ ebus_set_led(ac->art_channel, 1, MUSYCC_LED_GREEN | MUSYCC_LED_RED); break; @@ -399,7 +399,7 @@ art_linkstate(void *arg) ebus_set_led(ac->art_channel, 1, MUSYCC_LED_RED); } -u_int +u_int32_t art_mask_tsmap(u_int mode, u_int32_t tsmap) { switch (mode) { |