Deleted Added
full compact
if_snc.c (181298) if_snc.c (194023)
1/*-
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/dev/snc/if_snc.c 181298 2008-08-04 19:19:18Z jhb $");
30__FBSDID("$FreeBSD: head/sys/dev/snc/if_snc.c 194023 2009-06-11 17:14:28Z avg $");
31
32/*
33 * National Semiconductor DP8393X SONIC Driver
34 *
35 * This is the bus independent attachment on FreeBSD 4.x
36 * written by Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
37 */
38

--- 208 unchanged lines hidden (view full) ---

247
248 return 0;
249}
250
251/****************************************************************
252 Shutdown routine
253 ****************************************************************/
254
31
32/*
33 * National Semiconductor DP8393X SONIC Driver
34 *
35 * This is the bus independent attachment on FreeBSD 4.x
36 * written by Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
37 */
38

--- 208 unchanged lines hidden (view full) ---

247
248 return 0;
249}
250
251/****************************************************************
252 Shutdown routine
253 ****************************************************************/
254
255void
255int
256snc_shutdown(dev)
257 device_t dev;
258{
259 struct snc_softc *sc = device_get_softc(dev);
260
261 SNC_LOCK(sc);
262 sncshutdown(sc);
263 SNC_UNLOCK(sc);
256snc_shutdown(dev)
257 device_t dev;
258{
259 struct snc_softc *sc = device_get_softc(dev);
260
261 SNC_LOCK(sc);
262 sncshutdown(sc);
263 SNC_UNLOCK(sc);
264
265 return (0);
264}
266}