1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Warner Losh 880266e041 Minor cleanup of ep driver and pccard attachment:
o Grab the MAC address out of the CIS if the card has the special
  3Com 0x88 tuple.  Most 3Com cards don't have this tuple, but we
  prefer it to the eeprom since it only appears to be present when
  the eeprom doesn't have the info.  So far, I've only observed this
  on my 3C362 and 3C362B cards, but the NetBSD driver implies that
  the 3C362C also has this tuple, and that some 3C574 cards do too (none
  of mine do).  ep_pccard_mac was written after looking at the NetBSD
  code.
o Store the enet addr in the softc for this device, so we can use the
  overridden MAC to set the station address.
o Create a routine to set the station address and use it where we need it.
o setup the cmd shitfs and such before we call ep_alloc(), and remove
  setting up the cmd shift value there.  It initializes to 0, and those
  attachments that need to frob it do so before calling ep_alloc.
o Remove some obsolete comments
o No longer a need to export ep_get_macaddr, so make it static
o ep_alloc already grabs the EEPROM id, so we don't need to grab it again
  in ep_pccard_attach.
o eliminate unit, it isn't needed, fix some printfs to be device_printf
  instead.

# All my pccards except the 3C1 work now.  Didn't test ISA or cbus cards
# that I have: 3C509B-TP or 3C569B-J-TPO

Tested on: 3C589B, 3C589C, 3C589D, 3C589D-TP, 3C562, 3C562B/3C563B,
	3C562D/3C563D, 3CCFE574BT, 3CXEM556, 3CCSH572BT, 3C574-TX,
	3CCE589EC, 3CXE589EC, 3CCFEM556, 3C1
Approved by: re (scottl)
2005-07-01 04:23:32 +00:00
bin Sort sections. 2005-06-14 08:25:54 +00:00
contrib Fix ipfw packet matching errors with address tables. 2005-06-29 21:36:49 +00:00
crypto Forgot to bump the version addendum. 2005-06-05 18:30:53 +00:00
etc Remove REQUIRE and BEFORE lines since this script is not run by rcorder 2005-06-30 17:50:34 +00:00
games Correct an error in the previous revision. RAND_MAX is the maximum value 2005-06-22 15:24:00 +00:00
gnu kvm_openfiles() uses the supplied buffer for storing error messages 2005-06-24 00:50:12 +00:00
include MFP4: 2005-06-09 19:45:09 +00:00
kerberos5 Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
lib MFP4: 2005-06-30 19:01:26 +00:00
libexec Clean out the leftovers from the i386_set_gsbase() TLS conversion. 2005-06-29 23:15:36 +00:00
release New release notes: SA-05:13.ipfw, SA-05:14.bzip2, SA-05:15.tcp. 2005-06-30 18:17:09 +00:00
rescue Fix path to dhclient-script and reconnect to build. 2005-06-07 04:51:24 +00:00
sbin Don't complain when we receive smtp, pop, nntp, www, finger, and irc 2005-06-30 05:50:52 +00:00
secure Revert the commits that made libssh an INTERNALLIB; they caused too much 2005-06-07 09:31:28 +00:00
share Use 'manual page' instead of 'man page' for consistency. 2005-06-30 13:18:15 +00:00
sys Minor cleanup of ep driver and pccard attachment: 2005-07-01 04:23:32 +00:00
tools Upgrade these regression tests to track recent changes to `env'. 2005-06-21 21:43:38 +00:00
usr.bin Our bsd.*.mk only supports 6 WARNS levels and we should not use higher values 2005-06-30 11:56:31 +00:00
usr.sbin Add examples illustrating how to record system-wide profiles and 2005-07-01 03:50:30 +00:00
COPYRIGHT
LOCKS Document the previously existing RELENG_[45]_* security branch locks. 2005-06-02 22:57:30 +00:00
MAINTAINERS Since there's no emulation person, move the entry to upper section 2005-06-04 16:56:35 +00:00
Makefile Provide 32-bit runtime support on amd64 as a separate distribution, lib32. 2005-06-16 18:16:14 +00:00
Makefile.inc1 Provide 32-bit runtime support on amd64 as a separate distribution, lib32. 2005-06-16 18:16:14 +00:00
README
UPDATING - Remove the pccard_ifconfig variable in favor of a new 2005-06-30 05:02:34 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html