Commit Graph

41883 Commits

Author SHA1 Message Date
thorpej
9bb616c621 Regen. 1998-08-07 06:59:31 +00:00
thorpej
88c6239026 Add product IDs for the 3Com Cyclone-based PCI Ethernet devices,
the 3c90xB DMA-only cards.
1998-08-07 06:58:57 +00:00
thorpej
558733ffc6 Track our carrier status and report it in the media status callback. 1998-08-07 05:55:14 +00:00
matt
ddfc7f739b Document the isapnp ess attachment. 1998-08-07 01:00:36 +00:00
matt
202c97c54d Add an isapnp frontend for the ess driver. It somewhat works
(sounds is made but one buffer is played continuously).
1998-08-07 00:53:23 +00:00
matt
7b044dea51 Make the irq checking logic somewhat less bogus. 1998-08-07 00:51:06 +00:00
augustss
51bb504a6e Report a sensible MIDI device name. 1998-08-07 00:28:20 +00:00
augustss
48bae9ee88 Add MIDI support. The MIDI devices can be accessed as ``raw'' through
the /dev/rmidiN devices, or with a sequencer interface via /dev/music.
So far the only supported MIDI device is the MPU401 port on SoundBlaster
(and only on SB on isapnp, since we do not have locators with multiple
values yet).
1998-08-07 00:00:55 +00:00
augustss
8601edec8b Add a midi(4) man page. 1998-08-06 20:45:44 +00:00
kleink
ee14eecc51 Change the primary/secondary WINS Configuration Option Type IDs (128, 130) to
match those specified by RFC1877 (130, 132); from Terry Moore <tmm@mcci.com>
in PR bin/5701.
1998-08-06 20:13:14 +00:00
kleink
741d372539 Like for NFSv2, add a pointer to the NFSv3 RFC, too. 1998-08-06 19:44:28 +00:00
thorpej
1549ffa563 Implement a suggestion from Wolfgang Solfrank on the "supported media"
display.  The display now looks like this:

bishop:thorpej 35$ obj.alpha/ifconfig -m fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        supported Ethernet media:
                media autoselect
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT mediaopt full-duplex
                media 10baseT
                media 100baseTX mediaopt loopback
        inet 129.99.50.41 netmask 0xffffff00 broadcast 129.99.50.255
bishop:thorpej 36$

The intent here is to allow cut'n'pasting of the output to a command
line, or allow easier automatic extraction from scripts, etc.

XXX Still at issue is what to do about non-0 media instances.
1998-08-06 19:22:00 +00:00
thorpej
ddb9746a51 Define the minimum and maximum "network type" values. These values are
incremented by the minimum to interate through them.
1998-08-06 19:16:37 +00:00
tv
c166f15971 NetBSD doesn't support the tahoe. 1998-08-06 14:56:17 +00:00
minoura
626ed8e87d /usr/include/machine/kcore.h was missing. 1998-08-06 14:27:10 +00:00
minoura
25e525b352 grfioctl.h and iteioctl.h are now exported to /usr/include/machine. 1998-08-06 14:10:19 +00:00
minoura
d082dd3db4 Moved grfioctl.h and iteioctl.h to the public include directory. 1998-08-06 14:08:53 +00:00
christos
8bd03e9aab - Add {.,}[s-]include for silent include file failures
- Make traditional include statement include more than one file if present
  on the line.

Keeping up with the other's :-)
1998-08-06 13:42:22 +00:00
augustss
02c9ad1755 And fix pastos. 1998-08-06 12:26:51 +00:00
augustss
a79bb0d7ae Fix tyop. 1998-08-06 12:23:39 +00:00
kleink
546365a27e _POSIX_SOURCE -> _POSIX_C_SOURCE 1998-08-06 11:25:04 +00:00
kleink
709dda58f8 _POSIX_SOURCE -> _POSIX_C_SOURCE, and add missing protection bits. 1998-08-06 11:22:57 +00:00
drochner
e2a2525203 fix incorrect length of LOCATE CDB (reported in PR kern/5306 by
Dave Huang <khym@bga.com>)
1998-08-06 10:20:38 +00:00
perry
62cff0207c comment out the prototypes for bcopy, ovbcopy, bzero, and bcmp.
uncomment macros transforming into memcpy, memmove, memset and memcmp.
the prototypes should be deleted from the file some time soon.
1998-08-06 04:50:14 +00:00
perry
b84f472652 Sigh. "consts in prototypes can be quite a drag..."
fix last two fixes one more time, this time dealing with ugly
prototype issues, including the fact that the bcopy returns nothing,
but memcpy returns a void *. Never mind that we don't use it...
1998-08-06 04:37:57 +00:00
perry
9f63941cfa Fix botched prototype decl in last fix. 1998-08-06 04:25:55 +00:00
perry
df410f33db Convert bcopy,bzero to memcpy,memset
This was semi-nontrivial, since a function pointer to bcopy gets used
in this file.
Note #1: The catchpacket routine, which takes a function pointer to
         bpf_mcpy or memcpy, should probably be converted to take a
         flag that just says which is used, so memcpy can be inlined.
Note #2: The code is heavily #ifdef'ed to run on older operating
         systems. We probably want to clean that cruft out, unless
         someone is planning a new release of the code at LBL (doubtful.)
1998-08-06 04:24:25 +00:00
thorpej
3f0296f8ce Print the media instance if it's not zero, a reasonable compromise such
that no one will have to see those ugly instance numbers if they have
an interface with only one PHY (most of them out there).
1998-08-06 03:47:28 +00:00
mrg
7ba85a8779 if syscall_debug & compat_sunos, include sunos_syscalls.c 1998-08-06 02:58:44 +00:00
thorpej
dd588c0660 Add a macro to create a media word from type, subtype, options, and instance. 1998-08-06 02:38:19 +00:00
thorpej
85fd419492 Completely rewrite the way media descriptions are represented. The same
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.

Also, rewrite the way media words are displayed.  The status display now
looks like this:

bishop:thorpej 137$ ifconfig -m fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (10baseT)
        status: active
        supported media:
                Ethernet autoselect
                Ethernet 100baseTX <full-duplex>
                Ethernet 100baseTX
                Ethernet 10baseT <full-duplex>
                Ethernet 10baseT
                Ethernet 100baseTX <loopback>
        inet 129.99.50.41 netmask 0xffffff00 broadcast 129.99.50.255
bishop:thorpej 138$

This makes it more clear which media type (e.g. Ethernet) is currently
in-use, handy for devices such as the TI ThunderLAN which can also have
both Ethernet and Token Ring PHYs attached.
1998-08-06 02:24:40 +00:00
thorpej
b04ded7264 Completely rewrite the way media descriptions are represented. The same
data structure is used, but a much saner matching mechanism is used, one
which allows greater ease in adding new types.
1998-08-06 02:19:34 +00:00
mycroft
41a070136b When DEBUG, log init and fini calls. 1998-08-06 00:03:28 +00:00
thorpej
d2d470e18d Copyright assigned to The NetBSD Foundation, Inc. 1998-08-05 23:35:17 +00:00
mycroft
604e247818 Use the count at the beginning of __CTOR_LIST__. 1998-08-05 23:24:02 +00:00
fair
e56d5b203a update per PR#5915 1998-08-05 20:06:21 +00:00
kleink
e2a897639d KNF (only include one of <sys/{param,types}.h>). 1998-08-05 16:50:39 +00:00
augustss
0c6791d804 Add macro to test iobase validity. 1998-08-05 16:40:22 +00:00
augustss
28e2d6024a Clarify a comment. 1998-08-05 16:38:09 +00:00
augustss
d8582601c5 Make panic message a little more explicit. 1998-08-05 16:34:36 +00:00
drochner
32fce55082 Improve generation of default disklabels:
-store printable product ID in cd's and sd's softc, use it as "typename"
-for this, add a "destination buffer length" argument to scsipi_strvis()
-return ATAPI device type for ATAPI devices
1998-08-05 16:29:04 +00:00
minoura
4df8f47ebc Switched to MI zs driver. 1998-08-05 16:08:33 +00:00
minoura
e8551dcab3 Fixed stray pointer access reported by Yasufumi Itoh. 1998-08-05 15:57:43 +00:00
minoura
89f91f85fa Fixed typo. 1998-08-05 14:40:20 +00:00
augustss
a0aeff98c4 Fix two pastos. 1998-08-05 10:16:25 +00:00
hubertf
bc66f03729 /route/s/-f/flush/ 1998-08-05 07:44:58 +00:00
mycroft
9ae60c44af More cruft. 1998-08-05 04:25:03 +00:00
mycroft
7625579cb3 GC some cruft. 1998-08-05 04:21:51 +00:00
mark
719323a7d4 Rewritten the entry code. Use r10 to determine is r0 contains a valid
ps_strings pointer. Use assembly to get argc, argv and argp and then
call __start().
1998-08-05 03:59:43 +00:00
perry
c3579ce3f5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-05 02:45:08 +00:00