91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.82MB
    文件類(lèi)型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-05
  • 語(yǔ)言: 其他
  • 標(biāo)簽: bcm??linux??dirver??

資源簡(jiǎn)介

bcm博通系列無(wú)線網(wǎng)卡驅(qū)動(dòng)源碼,可以在任意Linux發(fā)行版編譯安裝,本人在bcm43142上實(shí)現(xiàn)

資源截圖

代碼片段和文件信息

/*
?*?Linux?OS?Independent?layer
?*
?*?Copyright?(C)?2015?Broadcom?Corporation.?All?Rights?Reserved.
?*?
?*?Permission?to?use?copy?modify?and/or?distribute?this?software?for?any
?*?purpose?with?or?without?fee?is?hereby?granted?provided?that?the?above
?*?copyright?notice?and?this?permission?notice?appear?in?all?copies.
?*?
?*?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?AND?THE?AUTHOR?DISCLAIMS?ALL?WARRANTIES
?*?WITH?REGARD?TO?THIS?SOFTWARE?INCLUDING?ALL?IMPLIED?WARRANTIES?OF
?*?MERCHANTABILITY?AND?FITNESS.?IN?NO?EVENT?SHALL?THE?AUTHOR?BE?LIABLE?FOR?ANY
?*?SPECIAL?DIRECT?INDIRECT?OR?CONSEQUENTIAL?DAMAGES?OR?ANY?DAMAGES
?*?WHATSOEVER?RESULTING?FROM?LOSS?OF?USE?DATA?OR?PROFITS?WHETHER?IN?AN?ACTION
?*?OF?CONTRACT?NEGLIGENCE?OR?OTHER?TORTIOUS?ACTION?ARISING?OUT?OF?OR?IN
?*?CONNECTION?WITH?THE?USE?OR?PERFORMANCE?OF?THIS?SOFTWARE.
?*
?*?$Id:?linux_osl.c?383331?2013-02-06?10:27:24Z?$
?*/

#define?LINUX_PORT

#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?

#include?

#define?PCI_CFG_RETRY? 10

#define?OS_HANDLE_MAGIC 0x1234abcd
#define?BCM_MEM_FILENAME_LEN? 24

typedef?struct?bcm_mem_link?{
struct?bcm_mem_link?*prev;
struct?bcm_mem_link?*next;
uint size;
int line;
void? *osh;
char file[BCM_MEM_FILENAME_LEN];
}?bcm_mem_link_t;

struct?osl_info?{
osl_pubinfo_t?pub;
uint?magic;
void?*pdev;
atomic_t?malloced;
atomic_t?pktalloced;?
uint?failed;
uint?bustype;
bcm_mem_link_t?*dbgmem_list;
spinlock_t?dbgmem_lock;
spinlock_t?pktalloc_lock;
};

#define?OSL_PKTTAG_CLEAR(p)?\
do?{?\
struct?sk_buff?*s?=?(struct?sk_buff?*)(p);?\
ASSERT(OSL_PKTTAG_SZ?==?32);?\
*(uint32?*)(&s->cb[0])?=?0;?*(uint32?*)(&s->cb[4])?=?0;?\
*(uint32?*)(&s->cb[8])?=?0;?*(uint32?*)(&s->cb[12])?=?0;?\
*(uint32?*)(&s->cb[16])?=?0;?*(uint32?*)(&s->cb[20])?=?0;?\
*(uint32?*)(&s->cb[24])?=?0;?*(uint32?*)(&s->cb[28])?=?0;?\
}?while?(0)

uint32?g_assert_type?=?FALSE;

static?int16?linuxbcmerrormap[]?=
{ 0?
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL
-EINVAL?
-EINVAL?
-EINVAL?
-E2BIG
-E2BIG
-EBUSY?
-EINVAL?
-EINVAL?
-EINVAL?
-EINVAL?
-EFAULT?
-ENOMEM?
-EOPNOTSUPP
-EMSGSIZE
-EINVAL
-EPERM
-ENOMEM?
-EINVAL?
-ERANGE?
-EINVAL?
-EINVAL?
-EINVAL?
-EINVAL?
-EINVAL
-EIO
-ENODEV
-EINVAL
-EIO
-EIO
-ENODEV
-EINVAL
-ENODATA
-EINVAL

#if?BCME_LAST?!=?-43
#error?“You?need?to?add?a?OS?error?translation?in?the?linuxbcmerrormap?\
for?new?error?code?defined?in?bcmutils.h“
#endif
};

int
osl_error(int?bcmerror)
{
if?(bcmerror?>?0)
bcmerror?=?0;
else?if?(bcmerror? bcmerror?=?BCME_ERROR;

return?linuxbcmerrormap[-bcmerror];
}

extern?uint8*?dhd_os_prealloc(void?*osh?int?section?int?size);

osl_t?*
osl_attach(void?*pdev?uint?b

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-04-11?20:12??hybrid-v35_64-nodebug-pcoem-6_30_223_271\
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\lib\
?????文件???????12381??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\lib\LICENSE.txt
?????文件?????7350128??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\lib\wlc_hybrid.o_shipped
?????文件????????5154??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\Makefile
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\
?????文件???????88473??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\802.11.h
?????文件????????1353??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\802.1d.h
?????文件????????1799??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\bcmeth.h
?????文件????????9729??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\bcmevent.h
?????文件????????5578??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\bcmip.h
?????文件????????4928??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\ethernet.h
?????文件????????5943??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\ieee80211_radiotap.h
?????文件????????4299??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\common\include\proto\wpa.h
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\
?????目錄???????????0??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\bcmcrypto\
?????文件????????1244??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\bcmcrypto\tkhash.h
?????文件????????3906??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\bcmdefs.h
?????文件????????6912??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\bcmendian.h
?????文件???????20860??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\bcmutils.h
?????文件????????1225??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\epivers.h
?????文件???????15007??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\linuxver.h
?????文件???????13381??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\linux_osl.h
?????文件????????3755??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\osl.h
?????文件????????1568??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\packed_section_end.h
?????文件????????1782??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\packed_section_start.h
?????文件????????2600??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\pcicfg.h
?????文件???????15311??2015-09-19?06:47??hybrid-v35_64-nodebug-pcoem-6_30_223_271\src\include\siutils.h
............此處省略24個(gè)文件信息

評(píng)論

共有 條評(píng)論