File:  [NeXTSTEP 3.3 examples] / Examples / DriverKit / SMC16 / SMC16_reloc.tproj / SMC16Hdw.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:00 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

/*
 * Copyright (c) 1993 NeXT Computer, Inc.
 *
 * SMC EtherCard Plus Elite16 adapters.
 *
 * HISTORY
 *
 * 26 Jan 1993 
 *	Created.
 */
 
typedef unsigned char	SMC16_off_t;
typedef unsigned int	SMC16_len_t;

/*
 * Hardware Board ID
 */
#define SMC16_REV(bid)		(((bid) & 0x1E) >> 1)
#define SMC16_LARGE_RAM(bid)	(((bid) & 0x40) != 0)

/*
 * IO offset to Bus Interface Chip
 */
#define SMC16_BIC_OFF	0x00

/*
 * IO offset to Network Interface Chip
 */
#define SMC16_NIC_OFF	0x10

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.