arswitch_7240.h revision 235323
1235323Sadrian/*- 2235323Sadrian * Copyright (c) 2011-2012 Stefan Bethke. 3235323Sadrian * All rights reserved. 4235323Sadrian * 5235323Sadrian * Redistribution and use in source and binary forms, with or without 6235323Sadrian * modification, are permitted provided that the following conditions 7235323Sadrian * are met: 8235323Sadrian * 1. Redistributions of source code must retain the above copyright 9235323Sadrian * notice, this list of conditions and the following disclaimer. 10235323Sadrian * 2. Redistributions in binary form must reproduce the above copyright 11235323Sadrian * notice, this list of conditions and the following disclaimer in the 12235323Sadrian * documentation and/or other materials provided with the distribution. 13235323Sadrian * 14235323Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15235323Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16235323Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17235323Sadrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18235323Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19235323Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20235323Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21235323Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22235323Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23235323Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24235323Sadrian * SUCH DAMAGE. 25235323Sadrian * 26235323Sadrian * $FreeBSD: head/sys/dev/etherswitch/arswitch/arswitch_7240.h 235323 2012-05-12 05:26:49Z adrian $ 27235323Sadrian */ 28235323Sadrian#ifndef __ARSWITCH_7240_H__ 29235323Sadrian#define __ARSWITCH_7240_H__ 30235323Sadrian 31235323Sadrianextern int ar7240_probe(device_t dev); 32235323Sadrianextern void ar7240_attach(struct arswitch_softc *sc); 33235323Sadrian 34235323Sadrian#endif /* __ARSWITCH_7240_H__ */ 35235323Sadrian 36