summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba
ModeNameSize
-rw-r--r--__init__.py11237logstatsplain
-rw-r--r--drs_utils.py8113logstatsplain
-rw-r--r--getopt.py8389logstatsplain
-rw-r--r--hostconfig.py1186logstatsplain
-rw-r--r--idmap.py3269logstatsplain
-rw-r--r--join.py14776logstatsplain
-rw-r--r--ms_display_specifiers.py4719logstatsplain
-rw-r--r--ms_schema.py7782logstatsplain
-rw-r--r--ndr.py993logstatsplain
d---------netcmd755logstatsplain
-rw-r--r--ntacls.py6444logstatsplain
-rw-r--r--provision.py77128logstatsplain
-rw-r--r--provisionbackend.py32213logstatsplain
-rw-r--r--samba3.py26300logstatsplain
-rw-r--r--samdb.py21923logstatsplain
-rw-r--r--schema.py8535logstatsplain
-rw-r--r--shares.py1730logstatsplain
d---------tests883logstatsplain
-rw-r--r--upgrade.py13083logstatsplain
-rwxr-xr-xupgradehelpers.py35290logstatsplain
="hl com">/* Receiver control */ #define PP_RxCTL_IAHash 0x0040 /* Accept frames that match hash */ #define PP_RxCTL_Promiscuous 0x0080 /* Accept any frame */ #define PP_RxCTL_RxOK 0x0100 /* Accept well formed frames */ #define PP_RxCTL_Multicast 0x0200 /* Accept multicast frames */ #define PP_RxCTL_IA 0x0400 /* Accept frame that matches IA */ #define PP_RxCTL_Broadcast 0x0800 /* Accept broadcast frames */ #define PP_RxCTL_CRC 0x1000 /* Accept frames with bad CRC */ #define PP_RxCTL_RUNT 0x2000 /* Accept runt frames */ #define PP_RxCTL_EXTRA 0x4000 /* Accept frames that are too long */ #define PP_TxCFG 0x0106 /* Transmit configuration */ #define PP_TxCFG_CRS 0x0040 /* Enable interrupt on loss of carrier */ #define PP_TxCFG_SQE 0x0080 /* Enable interrupt on Signal Quality Error */ #define PP_TxCFG_TxOK 0x0100 /* Enable interrupt on successful xmits */ #define PP_TxCFG_Late 0x0200 /* Enable interrupt on "out of window" */ #define PP_TxCFG_Jabber 0x0400 /* Enable interrupt on jabber detect */ #define PP_TxCFG_Collision 0x0800 /* Enable interrupt if collision */ #define PP_TxCFG_16Collisions 0x8000 /* Enable interrupt if > 16 collisions */ #define PP_TxCmd 0x0108 /* Transmit command status */ #define PP_TxCmd_TxStart_5 0x0000 /* Start after 5 bytes in buffer */ #define PP_TxCmd_TxStart_381 0x0040 /* Start after 381 bytes in buffer */ #define PP_TxCmd_TxStart_1021 0x0080 /* Start after 1021 bytes in buffer */ #define PP_TxCmd_TxStart_Full 0x00C0 /* Start after all bytes loaded */ #define PP_TxCmd_Force 0x0100 /* Discard any pending packets */ #define PP_TxCmd_OneCollision 0x0200 /* Abort after a single collision */ #define PP_TxCmd_NoCRC 0x1000 /* Do not add CRC */ #define PP_TxCmd_NoPad 0x2000 /* Do not pad short packets */ #define PP_BufCFG 0x010A /* Buffer configuration */ #define PP_BufCFG_SWI 0x0040 /* Force interrupt via software */ #define PP_BufCFG_RxDMA 0x0080 /* Enable interrupt on Rx DMA */ #define PP_BufCFG_TxRDY 0x0100 /* Enable interrupt when ready for Tx */ #define PP_BufCFG_TxUE 0x0200 /* Enable interrupt in Tx underrun */ #define PP_BufCFG_RxMiss 0x0400 /* Enable interrupt on missed Rx packets */ #define PP_BufCFG_Rx128 0x0800 /* Enable Rx interrupt after 128 bytes */ #define PP_BufCFG_TxCol 0x1000 /* Enable int on Tx collision ctr overflow */ #define PP_BufCFG_Miss 0x2000 /* Enable int on Rx miss ctr overflow */ #define PP_BufCFG_RxDest 0x8000 /* Enable int on Rx dest addr match */ #define PP_LineCTL 0x0112 /* Line control */ #define PP_LineCTL_Rx 0x0040 /* Enable receiver */ #define PP_LineCTL_Tx 0x0080 /* Enable transmitter */ #define PP_LineCTL_AUIonly 0x0100 /* AUI interface only */ #define PP_LineCTL_AutoAUI10BT 0x0200 /* Autodetect AUI or 10BaseT interface */ #define PP_LineCTL_ModBackoffE 0x0800 /* Enable modified backoff algorithm */ #define PP_LineCTL_PolarityDis 0x1000 /* Disable Rx polarity autodetect */ #define PP_LineCTL_2partDefDis 0x2000 /* Disable two-part defferal */ #define PP_LineCTL_LoRxSquelch 0x4000 /* Reduce receiver squelch threshold */ #define PP_SelfCTL 0x0114 /* Chip self control */ #define PP_SelfCTL_Reset 0x0040 /* Self-clearing reset */ #define PP_SelfCTL_SWSuspend 0x0100 /* Initiate suspend mode */ #define PP_SelfCTL_HWSleepE 0x0200 /* Enable SLEEP input */ #define PP_SelfCTL_HWStandbyE 0x0400 /* Enable standby mode */ #define PP_SelfCTL_HC0E 0x1000 /* use HCB0 for LINK LED */ #define PP_SelfCTL_HC1E 0x2000 /* use HCB1 for BSTATUS LED */ #define PP_SelfCTL_HCB0 0x4000 /* control LINK LED if HC0E set */ #define PP_SelfCTL_HCB1 0x8000 /* control BSTATUS LED if HC1E set */ #define PP_BusCTL 0x0116 /* Bus control */ #define PP_BusCTL_ResetRxDMA 0x0040 /* Reset RxDMA pointer */ #define PP_BusCTL_DMAextend 0x0100 /* Extend DMA cycle */ #define PP_BusCTL_UseSA 0x0200 /* Assert MEMCS16 on address decode */ #define PP_BusCTL_MemoryE 0x0400 /* Enable memory mode */ #define PP_BusCTL_DMAburst 0x0800 /* Limit DMA access burst */ #define PP_BusCTL_IOCHRDYE 0x1000 /* Set IOCHRDY high impedence */ #define PP_BusCTL_RxDMAsize 0x2000 /* Set DMA buffer size 64KB */ #define PP_BusCTL_EnableIRQ 0x8000 /* Generate interrupt on interrupt event */ #define PP_TestCTL 0x0118 /* Test control */ #define PP_TestCTL_DisableLT 0x0080 /* Disable link status */ #define PP_TestCTL_ENDECloop 0x0200 /* Internal loopback */ #define PP_TestCTL_AUIloop 0x0400 /* AUI loopback */ #define PP_TestCTL_DisBackoff 0x0800 /* Disable backoff algorithm */ #define PP_TestCTL_FDX 0x4000 /* Enable full duplex mode */ #define PP_ISQ 0x0120 /* Interrupt Status Queue */ #define PP_RER 0x0124 /* Receive event */ #define PP_RER_IAHash 0x0040 /* Frame hash match */ #define PP_RER_Dribble 0x0080 /* Frame had 1-7 extra bits after last byte */ #define PP_RER_RxOK 0x0100 /* Frame received with no errors */ #define PP_RER_Hashed 0x0200 /* Frame address hashed OK */ #define PP_RER_IA 0x0400 /* Frame address matched IA */ #define PP_RER_Broadcast 0x0800 /* Broadcast frame */ #define PP_RER_CRC 0x1000 /* Frame had CRC error */ #define PP_RER_RUNT 0x2000 /* Runt frame */ #define PP_RER_EXTRA 0x4000 /* Frame was too long */ #define PP_TER 0x0128 /* Transmit event */ #define PP_TER_CRS 0x0040 /* Carrier lost */ #define PP_TER_SQE 0x0080 /* Signal Quality Error */ #define PP_TER_TxOK 0x0100 /* Packet sent without error */ #define PP_TER_Late 0x0200 /* Out of window */ #define PP_TER_Jabber 0x0400 /* Stuck transmit? */ #define PP_TER_NumCollisions 0x7800 /* Number of collisions */ #define PP_TER_16Collisions 0x8000 /* > 16 collisions */ #define PP_BER 0x012C /* Buffer event */ #define PP_BER_SWint 0x0040 /* Software interrupt */ #define PP_BER_RxDMAFrame 0x0080 /* Received framed DMAed */ #define PP_BER_Rdy4Tx 0x0100 /* Ready for transmission */ #define PP_BER_TxUnderrun 0x0200 /* Transmit underrun */ #define PP_BER_RxMiss 0x0400 /* Received frame missed */ #define PP_BER_Rx128 0x0800 /* 128 bytes received */ #define PP_BER_RxDest 0x8000 /* Received framed passed address filter */ #define PP_RxMiss 0x0130 /* Receiver miss counter */ #define PP_TxCol 0x0132 /* Transmit collision counter */ #define PP_LineSTAT 0x0134 /* Line status */ #define PP_LineSTAT_LinkOK 0x0080 /* Line is connected and working */ #define PP_LineSTAT_AUI 0x0100 /* Connected via AUI */ #define PP_LineSTAT_10BT 0x0200 /* Connected via twisted pair */ #define PP_LineSTAT_Polarity 0x1000 /* Line polarity OK (10BT only) */ #define PP_LineSTAT_CRS 0x4000 /* Frame being received */ #define PP_SelfSTAT 0x0136 /* Chip self status */ #define PP_SelfSTAT_33VActive 0x0040 /* supply voltage is 3.3V */ #define PP_SelfSTAT_InitD 0x0080 /* Chip initialization complete */ #define PP_SelfSTAT_SIBSY 0x0100 /* EEPROM is busy */ #define PP_SelfSTAT_EEPROM 0x0200 /* EEPROM present */ #define PP_SelfSTAT_EEPROM_OK 0x0400 /* EEPROM checks out */ #define PP_SelfSTAT_ELPresent 0x0800 /* External address latch logic available */ #define PP_SelfSTAT_EEsize 0x1000 /* Size of EEPROM */ #define PP_BusSTAT 0x0138 /* Bus status */ #define PP_BusSTAT_TxBid 0x0080 /* Tx error */ #define PP_BusSTAT_TxRDY 0x0100 /* Ready for Tx data */ #define PP_TDR 0x013C /* AUI Time Domain Reflectometer */ /* initiate transmit registers */ #define PP_TxCommand 0x0144 /* Tx Command */ #define PP_TxLength 0x0146 /* Tx Length */ /* address filter registers */ #define PP_LAF 0x0150 /* Logical address filter (6 bytes) */ #define PP_IA 0x0158 /* Individual address (MAC) */ /* EEPROM Kram */ #define SI_BUSY 0x0100 #define PP_EECMD 0x0040 /* NVR Interface Command register */ #define PP_EEData 0x0042 /* NVR Interface Data Register */ #define EEPROM_WRITE_EN 0x00F0 #define EEPROM_WRITE_DIS 0x0000 #define EEPROM_WRITE_CMD 0x0100 #define EEPROM_READ_CMD 0x0200 #define EEPROM_ERASE_CMD 0x0300 /* Exported functions */ int cs8900_e2prom_read(struct eth_device *dev, uchar, ushort *); int cs8900_e2prom_write(struct eth_device *dev, uchar, ushort); #endif /* CS8900_H */