diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-03-20 13:52:49 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2007-03-20 13:52:49 +0000 |
commit | 12f538ba12e2ddc3267176ab9db93983f24c018a (patch) | |
tree | 2f8ffbb50a74a250f941311d62d54283db999f3a /sys/dev/ic/bcw.c | |
parent | f22b33ab273d85cd1598cb7ec0056071f5b00ec1 (diff) |
Document some routines by pointing to the refering specs URL.
Diffstat (limited to 'sys/dev/ic/bcw.c')
-rw-r--r-- | sys/dev/ic/bcw.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/ic/bcw.c b/sys/dev/ic/bcw.c index aac959da4e5..a48da4df1ba 100644 --- a/sys/dev/ic/bcw.c +++ b/sys/dev/ic/bcw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcw.c,v 1.78 2007/03/20 11:55:36 mglocker Exp $ */ +/* $OpenBSD: bcw.c,v 1.79 2007/03/20 13:52:48 mglocker Exp $ */ /* * Copyright (c) 2006 Jon Simola <jsimola@gmail.com> @@ -1497,6 +1497,11 @@ bcw_set_opmode(struct ifnet *ifp) BCW_WRITE16(sc, 0x0612, val); } +/* + * Enable MAC on a PHY + * + * http://bcm-specs.sipsolutions.net/EnableMAC + */ void bcw_mac_enable(struct bcw_softc *sc) { @@ -3191,6 +3196,11 @@ bcw_sprom_read(struct bcw_softc *sc, uint16_t *sprom) return (0); } +/* + * Extract whole SPROM content + * + * http://bcm-specs.sipsolutions.net/SPROM + */ int bcw_sprom_extract(struct bcw_softc *sc) { |