2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan/*
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * Use is subject to license terms.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan */
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan/*
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * Copyright (c) 2000
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan *
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * Redistribution and use in source and binary forms, with or without
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * modification, are permitted provided that the following conditions
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * are met:
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * 1. Redistributions of source code must retain the above copyright
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * notice, this list of conditions and the following disclaimer.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * 2. Redistributions in binary form must reproduce the above copyright
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * notice, this list of conditions and the following disclaimer in the
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * documentation and/or other materials provided with the distribution.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * 3. All advertising materials mentioning features or use of this software
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * must display the following acknowledgement:
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * This product includes software developed by Bill Paul.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * 4. Neither the name of the author nor the names of any co-contributors
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * may be used to endorse or promote products derived from this software
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * without specific prior written permission.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan *
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan * THE POSSIBILITY OF SUCH DAMAGE.
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan */
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan#include "bge_impl.h"
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tanvoid
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tanbge_adj_volt_5906(bge_t *bgep)
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan{
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan /* Adjust output voltage (From bsd driver) */
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan bge_mii_put16(bgep, 0x17, 0x12);
2fec4481b39ad70775fc74ba59c77dc28d669f83Carson Tan}