card_if.m (82376) | card_if.m (82378) |
---|---|
1# 2# Copyright (c) 1999 M. Warner Losh. 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 --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# | 1# 2# Copyright (c) 1999 M. Warner Losh. 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 --- 9 unchanged lines hidden (view full) --- 18# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24# SUCH DAMAGE. 25# |
26# $FreeBSD: head/sys/dev/pccard/card_if.m 82376 2001-08-26 23:56:49Z jon $ | 26# $FreeBSD: head/sys/dev/pccard/card_if.m 82378 2001-08-27 00:09:42Z jon $ |
27# 28 29#include <sys/bus.h> 30 31INTERFACE card; 32 33# WARNING: THIS FILE IS USED BY BOTH OLDCARD AND NEWCARD. MAKE SURE 34# YOU TEST BOTH KERNELS IF CHANGING THIS FILE. --- 52 unchanged lines hidden (view full) --- 87# 88# pccard bridges call this to detach a card. 89# 90METHOD int detach_card { 91 device_t dev; 92 int flags; 93} 94 | 27# 28 29#include <sys/bus.h> 30 31INTERFACE card; 32 33# WARNING: THIS FILE IS USED BY BOTH OLDCARD AND NEWCARD. MAKE SURE 34# YOU TEST BOTH KERNELS IF CHANGING THIS FILE. --- 52 unchanged lines hidden (view full) --- 87# 88# pccard bridges call this to detach a card. 89# 90METHOD int detach_card { 91 device_t dev; 92 int flags; 93} 94 |
95# 96# pccard/cardbus buses call this to request a reprobe of the bus. 97# reprobe only initiated if the child bus is the same type the card inserted. 98# 99METHOD int reprobe_card { 100 device_t dev; 101 device_t child; 102} 103 |
|
95HEADER { 96 #define DETACH_FORCE 0x01 97 #define DETACH_NOWARN 0x02 98} 99 100# 101# Returns the type of card this is. Maybe we don't need this. 102# --- 146 unchanged lines hidden --- | 104HEADER { 105 #define DETACH_FORCE 0x01 106 #define DETACH_NOWARN 0x02 107} 108 109# 110# Returns the type of card this is. Maybe we don't need this. 111# --- 146 unchanged lines hidden --- |