if_sncvar.h revision 92739
166550Snyan/* 266550Snyan * Copyright (c) 1995, David Greenman 366550Snyan * All rights reserved. 466550Snyan * 566550Snyan * Redistribution and use in source and binary forms, with or without 666550Snyan * modification, are permitted provided that the following conditions 766550Snyan * are met: 866550Snyan * 1. Redistributions of source code must retain the above copyright 966550Snyan * notice unmodified, this list of conditions, and the following 1066550Snyan * disclaimer. 1166550Snyan * 2. Redistributions in binary form must reproduce the above copyright 1266550Snyan * notice, this list of conditions and the following disclaimer in the 1366550Snyan * documentation and/or other materials provided with the distribution. 1466550Snyan * 1566550Snyan * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1666550Snyan * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1766550Snyan * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1866550Snyan * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1966550Snyan * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2066550Snyan * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2166550Snyan * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2266550Snyan * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2366550Snyan * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2466550Snyan * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2566550Snyan * SUCH DAMAGE. 2666550Snyan * 2766550Snyan * $FreeBSD: head/sys/dev/snc/if_sncvar.h 92739 2002-03-20 02:08:01Z alfred $ 2866550Snyan */ 2966550Snyan 3066550Snyan/* 3166550Snyan * National Semiconductor DP8393X SONIC Driver 3266550Snyan * 3366550Snyan * This is the machine dependent attachment on FreeBSD 4.x 3466550Snyan * written by Motomichi Matsuzaki <mzaki@e-mail.ne.jp> 3566550Snyan */ 3666550Snyan 3766550Snyanextern devclass_t snc_devclass; 3866550Snyan 3992739Salfredvoid snc_release_resources (device_t); 4092739Salfredint snc_alloc_port (device_t, int); 4192739Salfredint snc_alloc_memory (device_t, int); 4292739Salfredint snc_alloc_irq (device_t, int, int); 4366550Snyan 4492739Salfredint snc_probe (device_t, int); 4592739Salfredint snc_attach (device_t); 4666550Snyan 4792739Salfredvoid snc_shutdown (device_t); 48