Commit Graph

45414 Commits

Author SHA1 Message Date
hosokawa
a455fbe1d8 Added Megahertz X-Jack Ethernet Card. (sorry, Warner, please merge it!)
Obtained from:	PAO
2000-01-21 09:26:13 +00:00
hosokawa
aab344a69c Added "attr2" MAC address encoding (used by Megahertz Ethernet Card)
support.

Reviewed by:	Warner Losh <imp@village.org>
Obtained from:	PAO
2000-01-21 09:12:00 +00:00
hosokawa
cdccd2138a Added support for hex-encoded MAC address of Megahertz X-Jack Ethernet Card
Reviewed by:	Warner Losh <imp@village.org>
2000-01-21 09:05:49 +00:00
hosokawa
0d26a5787c Added
Allied Telesis Ethernet Card
 Panasonic KX-PH402D

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2000-01-21 06:59:19 +00:00
imp
72c8ff7d8a Fix the style bugs in the style bugs fix. The style bug fix made the
new function inconsistant with the rest of this file.  The spelling
and grammer fixes were good and remain.
2000-01-21 06:57:52 +00:00
hosokawa
0c9a9501c2 s/echo/logger -s/ to insert/remove lines in pccard.conf.
Obtained from:	PAO
2000-01-21 06:42:49 +00:00
hosokawa
7ce7351da1 Propagate MAC address in CIS tupple to dev/ed/ driver.
Many ed-based Ethernet PC-cards can't get correct MAC address without
this patch.

Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reviewed by: Warner Losh <imp@village.org>
2000-01-21 03:08:46 +00:00
green
c6da76a1a6 Fix style bugs in the last commit. 2000-01-21 02:52:54 +00:00
jdp
a69d0d68b5 If a directory on the command line doesn't exist, warn about it
and proceed rather than quitting with a fatal error message.

PR:		bin/16056
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-01-21 02:15:27 +00:00
obrien
48f03e24d6 Minor style nits. 2000-01-21 02:09:43 +00:00
bde
101b6ec95e Oops, The dependency of libcrypt on libmd went away before it was "fixed"
here.

Reported by:	peter
2000-01-21 02:00:53 +00:00
archie
16af9976b6 Document these drivers' support for netgraph(4). 2000-01-21 01:42:55 +00:00
archie
5d28703a16 Remove definition of the unimplemented "control" hook. 2000-01-21 01:39:40 +00:00
brian
a29610fe9a Use TUNSIFPID when we change our PID (if it exists). 2000-01-21 00:33:27 +00:00
brian
b5a9af645e Add a new TUNSIFPID ioctl to update the tun_pid (recorded in
tunopen) with the current pid.
2000-01-21 00:31:43 +00:00
n_hibma
ac7818da20 Add support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
methods for USB devices.

However: with none of the devices I have here suspend seems to work
properly.  This is probably a bug in uhci_power which I still have to
look at.

Prodded and pushed by:  Christopher Masto <chris@netmonger.net>
2000-01-20 22:24:35 +00:00
n_hibma
c5a17a034f Remove duplicate include 2000-01-20 22:05:30 +00:00
jasone
303a1b5e43 Remove unnecessary alternate entry points for *setjmp(). Make the main
entry point the standard name when not compiling libc_r (for example,
longjmp is the main entry point instead of __longjmp).

Suggested by:	bde
2000-01-20 21:58:27 +00:00
jasone
d28faf45be Minor *jmp() cleanups. 2000-01-20 21:53:59 +00:00
n_hibma
1b6a1333f6 Properly remove interrupts if initialisation fails. 2000-01-20 21:36:07 +00:00
billf
7bb98afc93 Brucify:
add an upper limit to -t
	match the types of return values and the variables they are stuffed in
	make the man page and usage() a little more consistantly ugly
	less obfuscation.

Submitted by:	adrian, billf
2000-01-20 20:48:51 +00:00
wpaul
b5ac56c339 Fix test for deciding when a bulk IN transfer got truncated. I thought
I fixed this last night, but apparently I only applied the patch to the
copy of the code in /dev/brain0.
2000-01-20 19:57:43 +00:00
wilko
2d1d6c5a2f Revamped Multia section. Included comments received from Peter Jeremy 2000-01-20 19:38:32 +00:00
imp
f6db7985c4 bdeize last commit:
o Remove opt_dontuse.h and ifdef PROCFS

Subitted by: bde, peter
2000-01-20 17:03:53 +00:00
gallatin
e5fa3c588c Make devices behind PPBs work on DS10s (and any other single pchip tsunamis)
I was wagering on DEC being elegant & numbering PCI buses normally on
machines with one pchip.  It looks like they went with consistent -- buses
behind ppbs begin with bus 2.
2000-01-20 16:49:18 +00:00
kato
e65ad563e9 Synced with the sc driver in the sys/dev/syscons directory.
Submitted by:	yokota
2000-01-20 15:16:49 +00:00
kuriyama
6e6fcaf129 Add $FreeBSD$. 2000-01-20 14:56:37 +00:00
yokota
8a0116ed59 Add the PnP ID for the Logitech Cordless MouseMan Wheel (serial
version).
2000-01-20 13:39:08 +00:00
yokota
abbbd5cfea - Add some comment from bde on the keyboard interrupt.
- Fix obsolete comments.
2000-01-20 13:32:53 +00:00
yokota
3701b00fac Do not explicitly create empty option files; they are taken
care of by bsd.kmod.mk.

Pointed out by: bde
2000-01-20 13:25:18 +00:00
yokota
697f77edf9 Do not include `ukbd.h'; it's not used.
Pointed out by: bde
2000-01-20 13:24:28 +00:00
yokota
aae7e72f94 PSM_HOOKAPM is obsolete; it was renamed to PSM_HOOKRESUME in
psm.c rev.1.21.
2000-01-20 13:23:42 +00:00
yokota
ce752f8d1a Unconditionally define sc_paste(). 2000-01-20 13:23:03 +00:00
yokota
630186d4d8 Fix wrong usage of FONT_NONE. It was not meant to be set in
scp->font_size in the first place.  It is redundant now and is
removed.

Found by: bde
2000-01-20 13:21:47 +00:00
nyan
8732157b07 Fixed typo. 2000-01-20 12:37:06 +00:00
sheldonh
319dab65f1 Revert the change from memset() to bzero(), since bzero() is simply
a special case of memset and we already initialize all those
members of the struct tm which are required by mktime().

The memset() is only necessary for style conformity with the rest
of the file. :-)

Scenic route tour by:	bde
2000-01-20 09:41:31 +00:00
kato
b149cc0a07 Synced with sys/isa/sio.c rev 1.285. 2000-01-20 08:37:54 +00:00
kato
40c8b7d407 Synced with sys/i386/i386/userconfig.c rev 1.169. 2000-01-20 08:35:32 +00:00
kato
b8cfd16cdf Synced with sys/i386/conf/GENERIC rev 1.230. 2000-01-20 08:34:40 +00:00
jasone
cec957051d Back out the previous spl change, since it opens a race window.
Reviewed by:	alfred, dillon, peter
2000-01-20 08:15:13 +00:00
jasone
918817c6dd Track libc_r addition of semaphores implementation.
Approved by:	jkh
2000-01-20 07:55:42 +00:00
jasone
3daa9aa719 Add sem_*() functions. Named semaphores and process-shared semaphores
are not supported by this implementation, and the error return values
from sem_init(), sem_open(), sem_close(), and sem_unlink() reflect this.

Approved by:	jkh
2000-01-20 07:54:49 +00:00
wpaul
9408134d9b Regen. 2000-01-20 07:39:19 +00:00
wpaul
d5c9bbfbf2 More USB ethernet tweaks:
- Sync ohci, uhci and usbdi modules with NetBSD in order to obtain the
  following improvements:
        o New USBD_NO_TSLEEP flag can be used in place of UQ_NO_TSLEEP
          quirk. This allows drivers to specify busy waiting only for
          certain transfers (namely control transfers for reading/writing
          registers and stuff).
        o New USBD_FORCE_SHORT_XFER flag can be used to deal with
          devices like the ADMtek Pegasus that sense the end of bulk OUT
          transfers in a special way (if a transfer is exactly a multiple
          of 64 bytes in size, you need to send an extra empty packet
          to terminate the transfer).
        o usbd_open_pipe_intr() now accepts an interval argument which
          can be used to change the rate at which the interrupt callback
          routine is invoked. Specifying USBD_DEFAULT_INTERVAL uses the
          value specified in the device's config data, but drivers can
          override it if needed.
- Change if_aue to use USBD_FORCE_SHORT_XFER for packet transmissions.
- Change if_aue, if_kue and if_cue to use USBD_NO_TSLEEP for all
  control transfers. We no longer force the non-tsleep hack for
  bulk transfers since these are done asynchronously anyway.
- Removed quirk entry fiddling from if_aue and if_kue since we don't
  need it anymore now that we have the USBD_NO_TSLEEP flag.
- Tweak ulpt, uhid, ums and ukbd drivers to use the new arg to
  usbd_open_pipe_intr().
- Add a flag to the softc struct in the ethernet drivers to indicate
  when a device has been detached, and use this flag to perform
  tests to prevent the drivers from trying to do control transfers
  if this is the case. This is necessary because calling if_detach()
  with INET6 enabled will eventually result in a call to the driver's
  ioctl() routine to delete the multicast groups on the interface,
  which will result in attempts to perform control transfers. (It's
  possible this also happens even without INET6 support enabled.) This
  is pointless since we know that if the detach method has been called,
  the hardware has been unplugged.
- Changed watchdog timeout routines to just call the driver init routines
  to initialize the device states without trying to close and re-open the
  pipes. This is partly because we don't want to frob things at interrupt
  context, but also because this doesn't seem to work right and I don't
  want to panic the system just because a USB device may have stopped
  responding.
- Fix aue_rxeof() to be a little smarter about detecting when a double
  transfer is needed. Unfortunately, the design of the chip makes it hard
  to get this exactly right. Hopefully, this will go away once either
  Nick or Lennart finds the bug in the uhci driver that makes this ugly
  hack necessary.
- Also sync usbdevs with NetBSD.
2000-01-20 07:38:33 +00:00
kris
6dea110be6 Don't search for libraries in ${LOCALBASE}. This should fix the problems
people were seeing with conflicts with the openssl port.
2000-01-20 07:29:01 +00:00
kris
720968f83d Activate librsaglue 2000-01-20 07:27:49 +00:00
kris
c14f52207d Move the rsaref gunk to libRSAglue where ports expect it. 2000-01-20 07:27:38 +00:00
kris
3698c50454 Build infrastructure for libRSAglue, required for compatability with
ports even though it doesn't seem to do anything which requires it
to be separate from libcrypto.
2000-01-20 07:24:40 +00:00
imp
4e884c480a When we are execing a setugid program, and we have a procfs filesystem
file open in one of the special file descriptors (0, 1, or 2), close
it before completing the exec.

Submitted by: nergal@idea.avet.com.pl
Constructive comments: deraadt@openbsd.org, sef, peter, jkh
2000-01-20 07:12:52 +00:00
rwatson
9f8d2f98a9 A few more style cleanups
Submitted by:	bde
2000-01-20 06:39:07 +00:00