Commit Graph

32501 Commits

Author SHA1 Message Date
ad
9cce953883 Don't panic so easily on failure; just issue notification. 1999-10-18 21:59:19 +00:00
wrstuden
e5bf8dc4d5 Catch a few cases missed earlier where we need to lock the vnode before
calling VOP_CLOSE().
1999-10-18 19:52:24 +00:00
fvdl
67eefde8f0 bdevvp returns a locked vnode, so vput it. From Bill Studenmund. 1999-10-18 19:37:28 +00:00
soren
72b75dc0b8 Shorten fpuname for built-in FPUs. 1999-10-18 17:23:00 +00:00
soren
6bae30b8f8 Make it compile with DEBUG. 1999-10-18 17:17:09 +00:00
enami
5d2feb3813 Remove options FIFO and MULTICAST. They aren't optional. 1999-10-18 09:42:12 +00:00
itohy
80b776d037 Use NMPU instead of NMIDI so that it can compile without mpu attachment.
Requested by Izumi Tsutsui.
1999-10-18 05:11:39 +00:00
rvb
c4c0fb2cd4 Update 00READ with porting instructions 1999-10-18 02:08:43 +00:00
cgd
d935a73378 nuke RCS "Log" and "Header" tags. They cause problems for third parties
importing our sources, and for NetBSD release engineering folks.
(They've been against the NetBSD coding style forever, but they crept
in anyway.)
1999-10-17 23:53:45 +00:00
cgd
28d5608977 nuke RCS "Log" tags. They cause problems for third parties importing
our sources, and for NetBSD release engineering folks.  (They've
been against the NetBSD coding style forever, but they crept in anyway.)
1999-10-17 23:39:15 +00:00
sommerfeld
f3182098a7 If a packet came in as link-level broadcast or link-level multicast, don't
attempt to fast-forward it out.
1999-10-17 23:38:45 +00:00
sommerfeld
c2accd9f9c In ip_forward():
Avoid forwarding ip unicast packets which were contained inside
link-level multicast packets; having M_MCAST still set in the packet
header flags will mean that the packet will get multicast to a bogus
group instead of unicast to the next hop.

Malformed packets like this have occasionally been spotted "in the
wild" on a mediaone cable modem segment which also had multiple netbsd
machines running as router/NAT boxes.

Without this, any subnet with multiple netbsd routers receiving all
multicasts will generate a packet storm on receipt of such a
multicast.  Note that we already do the same check here for link-level
broadcasts; ip6_forward already does this as well.

Note that multicast forwarding does not go through ip_forward().

Adding some code to if_ethersubr to sanity check link-level
vs. ip-level multicast addresses might also be worthwhile.
1999-10-17 16:00:00 +00:00
augustss
db3b140df8 Handle the (weird) case when the power hook is called with a resume
without a prior suspend.
1999-10-17 15:31:00 +00:00
tsubai
b9d51debd3 Rearrange splxxx (from pmax). Closes PR 8445. 1999-10-17 15:06:45 +00:00
jdolecek
b30fcf9a56 lock the device vnode before calling VOP_CLOSE() only under NetBSD
some minor cleanup in ntfs_unmount()
1999-10-17 10:18:15 +00:00
ragge
2674b15280 Don't call dk_establish() on vax either. 1999-10-17 09:44:48 +00:00
jdolecek
12eea21c72 include opt_ddb.h so that symbol DDB gets defined appropriately and right
thing happens WRT Debugger()
call Debugger() only when DDB is defined
1999-10-17 09:40:49 +00:00
jdolecek
ded7bf0c50 include opt_ddb.h, so that symbol DDB actually get's defined appropriately
kill local definition of Debugger() - <sys/systm.h> DTRT
don't assume Debugger() is always available and put the call inside #ifdef DDB

Second part of a fix to PR #8637 by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
1999-10-17 09:32:14 +00:00
jdolecek
492bb4b0a6 include opt_ddb.h, so that symbol DDB actually get's defined appropriately
si_intr(): consmetic change to the code calling Debugger()

First part of fix to PR #8637 by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>.
1999-10-17 09:27:21 +00:00
enami
46f1868fe7 Cosmetic changes. 1999-10-17 06:22:05 +00:00
enami
de4b3a819a ENODEV is not a value supposed to be assigned to xs->error. Use
XS_DRIVER_STUFFUP instead.
1999-10-17 06:13:01 +00:00
mjacob
cdad48e3b7 Oops- missed a MAXISPREQUEST sized thing- these are all gone now. It's amazing
this didn't eat me.
1999-10-17 02:40:26 +00:00
mjacob
4938c2371d Some stylistic changes, but also use the new INT_PENDING macro. Start
tracking LIP sequence numbers.
1999-10-17 01:38:27 +00:00
mjacob
4fdbb0d1a0 mostly stylistic 1999-10-17 01:37:34 +00:00
mjacob
c525e6fa14 add INT_PENDING macro 1999-10-17 01:37:12 +00:00
mjacob
5781cfe433 some comments added 1999-10-17 01:23:21 +00:00
mjacob
2b4cd26aa4 stylistic cleanups 1999-10-17 01:22:08 +00:00
wrstuden
e682a080e9 In spec_close(), if we're not doing a non-blocking close and VXLOCK is
not set, unlock the vnode before calling the device's close routine and
relock it after it returns. tty close routines will sleep waiting for
buffers to drain, which won't happen often times as the other side needs
to grab the vnode lock first.

Make all unmount routines lock the device vnode before calling VOP_CLOSE().
1999-10-16 23:53:26 +00:00
ragge
ad78a78402 Include <lib/libkern/libkern.h> after sys/param.h, to avoid warnings
when memcpy et al is static inline.
1999-10-16 19:06:48 +00:00
augustss
d8e5f3ab24 Add a DIAGNOSTIC to check that the polling flag is set when resuming. 1999-10-16 15:35:18 +00:00
shin
cff2720381 fix message in vr_device_register() 1999-10-16 12:27:55 +00:00
is
26bb1d3915 regenerate 1999-10-15 21:54:43 +00:00
augustss
f65479526f Correct a spelling mistake. 1999-10-15 21:53:02 +00:00
is
6e077cd004 Reboot support for P5PPC+68K boards, compiled in by "options P5PPC68KBOARD".
Without this, at least cyberppc+040 boards won't reboot, but just hang when
down.
The method is similar to what LinuxPPC/APUS does, but without EIEIO.
1999-10-15 21:50:34 +00:00
augustss
8b18a2785a Regen. 1999-10-15 14:42:17 +00:00
augustss
f8ac09c2e7 Add some Philips speakers (even if mine say Roland on the front :). 1999-10-15 14:41:43 +00:00
augustss
12cebe3298 Add ohci at cardbus. 1999-10-15 13:16:42 +00:00
tsubai
3e373da88d Enable com* at pcmcia. 1999-10-15 12:27:06 +00:00
tsubai
b67b49b7db Support com* at pcmcia. 1999-10-15 12:24:36 +00:00
augustss
38a146ce0f Add USB OHCI attachment to cardbus.
XXX There seems to be some interrupt problem.
1999-10-15 11:52:45 +00:00
augustss
1d19b4dd3d Add a number of CARDBUS_CLASS defines. Copied from PCI_CLASS. 1999-10-15 11:10:58 +00:00
augustss
c175d023d0 Comment out some debug settings.
Change attach printing so it looks more standard.
1999-10-15 10:59:56 +00:00
tsubai
c1a7ea14a3 Add cardbus support. 1999-10-15 07:55:08 +00:00
tsubai
849421ec54 Add RCS ID.
Disable debug messages.
1999-10-15 07:20:42 +00:00
tsubai
26cb48e441 Fix typo. 1999-10-15 07:16:16 +00:00
haya
6b911855eb add NetBSD ID tag. 1999-10-15 06:43:06 +00:00
tsubai
3499cf35ad Define fdc, because dev/pcmcia needs it. 1999-10-15 06:43:05 +00:00
haya
e5cc414836 add NetBSD ID tag. 1999-10-15 06:42:21 +00:00
haya
e56835ec5d add NetBSD ID tag 1999-10-15 06:41:27 +00:00
haya
316b48ba74 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:24:24 +00:00