Deleted Added
full compact
if_ep_pccard.c (147715) if_ep_pccard.c (147729)
1/*-
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
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

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

30
31/*
32 * Pccard support for 3C589 by:
33 * HAMADA Naoki
34 * nao@tom-yam.or.jp
35 */
36
37#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
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

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

30
31/*
32 * Pccard support for 3C589 by:
33 * HAMADA Naoki
34 * nao@tom-yam.or.jp
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_pccard.c 147715 2005-07-01 04:23:32Z imp $");
38__FBSDID("$FreeBSD: head/sys/dev/ep/if_ep_pccard.c 147729 2005-07-01 15:52:50Z imp $");
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/socket.h>
44#include <sys/module.h>
45#include <sys/bus.h>
46

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

107 return EIO;
108 if (pp->prod.pp_name != NULL)
109 device_set_desc(dev, pp->prod.pp_name);
110
111 return 0;
112}
113
114static int
39
40#include <sys/param.h>
41#include <sys/systm.h>
42#include <sys/kernel.h>
43#include <sys/socket.h>
44#include <sys/module.h>
45#include <sys/bus.h>
46

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

107 return EIO;
108 if (pp->prod.pp_name != NULL)
109 device_set_desc(dev, pp->prod.pp_name);
110
111 return 0;
112}
113
114static int
115ep_pccard_mac(struct pccard_tuple *tuple, void *argp)
115ep_pccard_mac(const struct pccard_tuple *tuple, void *argp)
116{
117 uint8_t *enaddr = argp;
118 int i;
119
120 /* Code 0x88 is 3com's special cis node contianing the MAC */
121 if (tuple->code != 0x88)
122 return (0);
123

--- 111 unchanged lines hidden ---
116{
117 uint8_t *enaddr = argp;
118 int i;
119
120 /* Code 0x88 is 3com's special cis node contianing the MAC */
121 if (tuple->code != 0x88)
122 return (0);
123

--- 111 unchanged lines hidden ---