Commit Graph

132450 Commits

Author SHA1 Message Date
cube f770d4aa14 Remove tests that used to make it possible to compile ethfoo_lkm.c with
older versions of NetBSD (specifically, before ksyms was introduced), as
a lot of other changes makes that impossible anyway.
2004-12-12 22:15:28 +00:00
cube dfc44125a6 Turn ethfoo(4) into a cloning device, following the MOVEFD semantics (like
bpf(4)).

While doing that, still keep around the full cdevsw interface, so that the
ethfoo interfaces can be accessed either through /dev/ethfooN or through
the cloning device /dev/ethfoo (whose minor number is 0xfffff).  Interfaces
created through the cloning device are destroyed at close() time.

Also add an ioctl() to be used by the cloning interface user to know the
minor number of the created interface, so it can be manipulated later to
get an address set and turned up (otherwise EHOSTDOWN is returned on read
and write).

Document some of the new functions, but read, write, ioctl and kqfilter
still has to be commented.
2004-12-12 21:46:58 +00:00
spz 3ca52e72db adds a description of m_apply
closes PR kern/26059
has been looked at by Jason Thorpe and Christos Zoulas
2004-12-12 21:04:16 +00:00
abs 964859d895 Fix comments regarding configration bounaries 2004-12-12 21:03:06 +00:00
oster 10928931ab The switch() in rf_ContinueReconstructFailedDisk() is never actually
used in non-simulation code, and thus is just wasting space (and
making the code more confusing to read!).  Turf the switch, left-shift
the indentation of code, and nuke 'state' field of struct RF_RaidReconDesc_s.

No real functional changes.
2004-12-12 20:53:15 +00:00
abs 5958dd944e Fix comments slighly 2004-12-12 20:42:53 +00:00
christos c7df97ab82 Another linted comment about empty macro decl. 2004-12-12 19:44:46 +00:00
bouyer 0f82537ed4 The macro used for static server address is NFS_BOOTSTATIC_SERVADDR, not
NFS_BOOTSTATIC_SADDR. From Xen source distribution.
XXX NFS_BOOTSTATIC* doesn't seem to be documented anywhere ...
2004-12-12 16:24:14 +00:00
he 6817787508 Bump libbfd's shared library version number following new binutils import.
Fixes build problem for the vax port which remains without HAVE_GCC3.
2004-12-12 14:31:45 +00:00
spz f071025256 another fish in the pool :-) (added myself to the list of developers) 2004-12-12 13:59:51 +00:00
mrg e3f11c0d8c regenerate for fixed tools/binutils/Makefile 2004-12-12 12:43:05 +00:00
mrg 8887f2b7c4 for mknative, move -B from CC to CFLAGS, fixes vax configs 2004-12-12 12:42:35 +00:00
wiz 8433ffc136 cvs-1.11.18/1.12.10 are available. 2004-12-12 12:27:24 +00:00
tsutsui 29ec4fefaa news68k/locore.s directly includes <machine/trap.h> and
m68k/copy.s directly includes <sys/errno.h>,
so remove definitions for them from assym.h.
2004-12-12 10:26:36 +00:00
tsutsui e76635baae Remove definitions for EFAULT and ENAMETOOLONG.
m68k/copy.s directly includes <sys/errno.h>.
2004-12-12 10:22:20 +00:00
christos 6b367bf779 - Add NetBSD RCSID's
- comment out opie since we don't have it.
2004-12-12 08:54:34 +00:00
christos cad237d3f4 Pam configuration files from FreeBSD; perl script not imported. 2004-12-12 08:48:21 +00:00
christos 5ec5c920e5 Add description for libpam 2004-12-12 08:41:09 +00:00
christos 980de1e92d s/__function__/__func__/ 2004-12-12 08:29:56 +00:00
jmc 17902793ab Last remaining bits of hand built releases. Get all TOS utils into CVS and
provide rules for putting them into installation/misc along w. checksums.
2004-12-12 08:25:59 +00:00
christos e7d22a2e64 - NetBSD build glue
- Warning fixes
- RCSID's
2004-12-12 08:18:42 +00:00
christos bb62ec41f1 - NetBSD specific fixes.
- Changes from Jason to use our YP stuff.
2004-12-12 08:17:56 +00:00
christos 80184d2e85 Add a linted comment for an unused variable 2004-12-12 08:16:41 +00:00
christos a97ddb0609 s/__FUNCTION__/__function__/ 2004-12-12 08:06:42 +00:00
christos 6f11bdf15c - Import freebsd's version of libpam as of today (20041212).
- Did not import opie, passwdqc, tacplus. We need to decide what to do
  with them.
- Imported radius and ssh, although they will not work until we
  import libradius and re-structure our tree to install libssh.
2004-12-12 06:45:21 +00:00
dyoung a534631ee7 Miscellaneous changes. Details below. Important changes flagged
with [].  Using the driver with my Linksys WPC11 ver. 4, it seems
to be receiving packets for a change.  The WPC11 ver. 4 has a Maxim
RF section.  My no-name rtw with Philips RF section still does not
receive any packets.

Keep access-level (analog params > config[0123] registers > none)
in sc_access.  Add rtw_set_access for changing the access level.

Make rtw_continuous_tx_enable and other subroutines use rtw_set_access
instead of rtw_config0123_enable and rtw_anaparm_enable.

Factor part of the chip-reset code into rtw_chip_reset1.

Change the 'struct foo (*bar)[N]'-style arguments to
'struct foo *bar'-style arguments.

Consolidate software/hardware Tx/Rx ring setup in rtw_hwring_setup,
rtw_swring_setup.

Add a new constant, SA2400_OPMODE_DEFAULTS, for the bits that we
*always* set in the SA2400 OPMODE register.

Factor some code out into rtw_sa2400_calibrate.  (Inspired by the
Linux driver.)

[] When the receiver goes into underrun/overflow state, call a new
   subroutine, rtw_kick() that stops the Rx/Tx processes, resets
   the chip, reinitializes the Tx/Rx rings, and restarts Rx/Tx
   processes.  (Inspired by the Linux driver.)

[] In rtw_intr_rx, check for too-short packets before calling
   ieee80211_find_rxnode.  I believe this will prevent a repeat of
   the MCHK exception I saw once on macppc.

[] Use seconds-elapased as well as microseconds-elapsed to set the
   next "due date" for the timeout interrupt.  This keeps the driver
   from programming the timeout to expire too early.

[] In rtw_intr, read RTW_ISR at most 10 times, then get out.  If
   the interface is not enabled (RTW_F_ENABLED), then get out.

[] In rtw_stop, get out if the interface is not enabled (RTW_F_ENABLED).
   Block IPL_NET interrupts.  Don't read/write any registers if
   the interface is invalid (RTW_F_INVALID).

[] Call rtw_stop in rtw_detach.
2004-12-12 06:37:59 +00:00
christos a2078b09d1 - link set NetBSD changes from thorpej
- lint silencing comments
2004-12-12 06:19:35 +00:00
christos 78a16257c7 Lint silencing comments 2004-12-12 06:18:52 +00:00
christos 3c33f5d161 - unsigned char casts for ctype macros.
- lint silencing comments.
2004-12-12 06:18:17 +00:00
christos d316c2d956 Don't look in /usr/local for pam configuration files. NetBSD does not
have them. XXX: maybe look in /usr/pkgsrc?
Unsigned char casts for ctype macros.
2004-12-12 06:17:31 +00:00
christos e9803b264c prevent double-free by setting variable to NULL after it has been freed.
Avoids problem when shared library is not found during configuration.
2004-12-12 06:15:58 +00:00
christos fe57a1b812 NetBSD specific link set changes. 2004-12-12 06:14:58 +00:00
christos 3c39f8e35c - add LINTED comments.
- prevent alarm of negative numbers.
- size_t lint casts
- avoid shadowing of variables.
2004-12-12 06:14:06 +00:00
christos dead717d6a size_t cast for lint 2004-12-12 06:12:26 +00:00
christos b73b054f62 import openpam "eelgrass" released on 20040210 2004-12-12 06:07:19 +00:00
christos 31c88148c1 PR/23971: Greg A. Woods: Fix quotacheck infinite loop with uid == UINT32_MAX.
While I am there, pass WARNS=3
2004-12-12 05:57:03 +00:00
snj 316a956c56 Bump date for last. 2004-12-12 05:56:45 +00:00
yamt 3290f3a078 vn_lock: #if 0 out an assertion for now. (until PR/27021 is fixed) 2004-12-12 04:46:46 +00:00
yamt ebf187e60c document correct return value. PR/28571 from ITOH Yasufumi. 2004-12-12 01:09:44 +00:00
christos d465dbd49e change _PATH_FOO to _NAME_FOO where FOO is not a path. I'll discuss with
luke what is the best way to fix this.
2004-12-11 18:37:26 +00:00
cube 909aa49296 Some SiS 7012 chips come muted by default, so un-mute all SiS 7012 chips at
attach time the way Linux does it.  Reported and tested by Jonathan
Schleifer, I checked it didn't break my own 7012 device which doesn't need
that manipulation.
2004-12-11 17:48:56 +00:00
wiz ff7ab08a15 Mmm, API changes without date bumps... bump date for constification. 2004-12-11 16:50:56 +00:00
jdolecek 5ec3d6ddb7 bump date 2004-12-11 10:15:02 +00:00
jdolecek 24bb7c68a7 I'm reposinble for expr(1) 2004-12-11 09:57:32 +00:00
jdolecek 3975a596ae xref sk(4) 2004-12-11 09:53:04 +00:00
jmc 427a8339c4 Provide a definition for __UNCONST since there's no guarentee our sys/cdefs.h
gets pulled in
2004-12-11 09:34:08 +00:00
sketch 70f18ae0f6 Silence the 'receive process failed to idle' message on the Davicom DM9102A. 2004-12-11 09:31:42 +00:00
christos 924b906d65 Only compile 64 bit relocations if we can build a 64 bit target (BFD64)
not if the 64 bit type is defined (BFD_HOST_64_BIT) because the second
is always defined, even if it falls back to a 32 bit type. In our case,
this was not the problem; the problem was that we bfd_vma is a 32 bit
type when BFD64 is not defined, so the shift was out of range.
2004-12-11 08:42:55 +00:00
jmc 16650d50f4 Regen w. latest mknative to fix ./object.o problems 2004-12-11 07:42:57 +00:00
jmc 4d724bafe7 Take output and look for things of the form ./XXX.o and turn them into XXX.o
so generated objects vs listed objects in make line up and dependcies happen
correctly. Found because libiberty (on this binutils import) was leaving
all objects as ./object.o and make wasn't picking up correct depends on
config.h as a result.
2004-12-11 07:40:50 +00:00