pccardvar.h (56361) | pccardvar.h (58581) |
---|---|
1/* $NetBSD: pcmciavar.h,v 1.9 1998/12/29 09:00:28 marc Exp $ */ | 1/* $NetBSD: pcmciavar.h,v 1.9 1998/12/29 09:00:28 marc Exp $ */ |
2/* $FreeBSD: head/sys/dev/pccard/pccardvar.h 56361 2000-01-21 03:08:46Z hosokawa $ */ | 2/* $FreeBSD: head/sys/dev/pccard/pccardvar.h 58581 2000-03-26 07:01:52Z imp $ */ |
3 4/* 5 * Copyright (c) 1997 Marc Horowitz. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 264 unchanged lines hidden (view full) --- 275 PCCARD_IVAR_ETHADDR, /* read ethernet address from CIS tupple */ 276}; 277 278/* read ethernet address from CIS tupple */ 279__inline static int 280pccard_get_ether(device_t dev, u_char *enaddr) 281{ 282 return BUS_READ_IVAR(device_get_parent(dev), dev, | 3 4/* 5 * Copyright (c) 1997 Marc Horowitz. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 264 unchanged lines hidden (view full) --- 275 PCCARD_IVAR_ETHADDR, /* read ethernet address from CIS tupple */ 276}; 277 278/* read ethernet address from CIS tupple */ 279__inline static int 280pccard_get_ether(device_t dev, u_char *enaddr) 281{ 282 return BUS_READ_IVAR(device_get_parent(dev), dev, |
283 PCCARD_IVAR_ETHADDR, (uintptr_t *)enaddr); | 283 PCCARD_IVAR_ETHADDR, (uintptr_t *)enaddr); |
284} | 284} |
285 286enum { 287 PCCARD_A_MEM_ATTR 288}; 289 290/* Set the */ 291 292static __inline__ void 293pccard_set_attribute(device_t dev, struct resource *r, int rid, int flags) 294{ 295} |
|