Commit Graph

60310 Commits

Author SHA1 Message Date
augustss 4b93911b25 Generate usb events on attach and detach. 2000-02-02 13:18:45 +00:00
itojun 7a7a3bcfdf handle attach failure in ne/pcmcia more carefully. (otherwise we'll
have trouble on detach)
2000-02-02 13:06:15 +00:00
itojun 7aa608e563 handle attach failure in more detail. make sure to
pcmcia_function_disable() on failure.
2000-02-02 13:02:56 +00:00
itojun 4e1b4b724b implement cnw_detach.
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach().  otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
2000-02-02 12:25:13 +00:00
agc 46fef1e3c2 First cut at a shell script to convert a distrib-style list into a
pkgsrc-style PLIST.
2000-02-02 12:11:47 +00:00
augustss b10d6a6fc0 Support detach. 2000-02-02 11:42:29 +00:00
itojun f4e8883ccd use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach(). 2000-02-02 11:41:56 +00:00
itojun 2b4766a6b2 enami's fix to dp8390 did the trick, it does not hang up any more.
enable detach routine by default.
2000-02-02 11:17:32 +00:00
augustss a5f7a2c791 Detach rnd source in ep_detach(). Check for DVF_ACTIVE in epintr(); 2000-02-02 11:00:48 +00:00
enami 60e57afedd - Check also DVF_ACTIVE bit in dp8390_intr.
- Delete ifmedia instances on detach.
2000-02-02 10:50:56 +00:00
enami a54d060a1c Unhook the entropy source on detach. 2000-02-02 10:45:12 +00:00
enami 500a12d2e5 - No need to wait in pcic_chip_socket_disable. It was intended to keep
some period between disable and enable in spec, but is done in
pcic_chip_socket_disable.  And we also disable socket in pcic_deactivate_card,
we should do it in another way if it is really necessary.
- Shorten the wait message so that ps(1) and ps in ddb be happy.
- Replace newly added long delay with sleep.
2000-02-02 10:31:45 +00:00
enami e16a469c8f Cosmetic changes. 2000-02-02 10:19:51 +00:00
itojun 17f5887294 implement if_detach code for ne/pcmcia.
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
2000-02-02 10:00:06 +00:00
enami a909d816d2 Add detach support. 2000-02-02 09:34:51 +00:00
enami 9cb8699ba1 Revoke bpf device on detach. 2000-02-02 09:03:41 +00:00
augustss e4c766e299 Make sure to untimeout() things on detach. 2000-02-02 08:57:51 +00:00
augustss 82559ba682 Move detach operations around a little to simplify (and perhaps get it
right?).  Prompted by Jason, itojun and myself.
2000-02-02 08:41:00 +00:00
enami 983b6de129 Since we are allowed to wait, no need to check the return value. 2000-02-02 08:36:02 +00:00
thorpej 2af8db77c9 Grumble, forward decl for struct ifaddr. 2000-02-02 08:14:20 +00:00
itojun f781f298a6 remove ns_purgeaddr() prototype - it's in netns/ns_var.h (added by thorpej) 2000-02-02 08:09:57 +00:00
augustss 4a6ae7bdfc Get rid of shutdown hook and attached media on detach. 2000-02-02 08:08:50 +00:00
thorpej b2408b62bf Add missing prototype for ns_purgeaddr(). 2000-02-02 08:06:49 +00:00
thorpej 84dc99fdea Bring some order to the chaos which was the MII code function naming
"conventions".
2000-02-02 08:05:26 +00:00
augustss ea45df4d30 Make sure to get rid of shutdown hook and ttach media on detach. 2000-02-02 08:00:21 +00:00
itojun af1d56129f wrap bpfdetach() with NBPFILTER > 0. 2000-02-02 07:47:33 +00:00
enami 19bff8f913 Remove duplicated forward declarations. 2000-02-02 07:45:13 +00:00
augustss 481e8339dc Change the USB event mechanism to include more information about devices
and drivers.  Partly from FreeBSD.
2000-02-02 07:33:59 +00:00
augustss 0151072444 Make ep driver detachable. 2000-02-02 07:23:28 +00:00
augustss 2c371af454 Make ray driver detachable. 2000-02-02 07:22:06 +00:00
mjacob f62ad5baf7 Fix a buglet in the man page: eom spaces to the end of recorded media-
not the 'end of the media'.
2000-02-02 06:56:46 +00:00
itojun 94a0a3b5f3 align message a bit better. 2000-02-02 05:18:32 +00:00
itojun 2111a79d6a add missing prototype for if_detach. 2000-02-02 05:07:57 +00:00
itojun 4d9ae69b8a bring in latest KAME tree. show kludge entry. 2000-02-02 05:04:17 +00:00
dmcmahill a0de3d7fa5 When no -e flag is used to specify the encoding, default to "ulaw". This
fixes PR bin/9329.  Thanks to Wolfgang Rupprecht (wolfgang@wsrcc.com)
for filing the PR and identifying the bug.  This change is slightly different
than the one provided in the PR.

Also, document the default encoding in the manpage.

This default is consistent with the default for audiorecord under solaris.
2000-02-02 05:02:25 +00:00
chopps ea37d51548 do something more like pccbbs chip_enable. don't enable interrupts
until we have everything else setup..
2000-02-02 04:45:21 +00:00
thorpej 0738a5d4ac Driver for the Davicom DM9101 10/100 Ethernet PHY. This PHY is found
on several inexpensive 10/100 Ethernet boards (e.g. D-Link DFE-530TX,
Winbond 10/100 boards), and is also the built-in PHY on the DM9102
10/100 Ethernet chip.
2000-02-02 04:29:49 +00:00
thorpej e1aef0ac87 If there is no BIOS32 present, don't try to call into it. 2000-02-02 04:09:37 +00:00
itojun faa17682df add -R (accept router renumbering packet). now router renumbering is disabled
by default for ipsec config twists.
dies gracefully on SIGTERM.
2000-02-02 04:07:50 +00:00
shin 62bc319e2c add '#ifdef VR41X1' for TX3900. 2000-02-02 03:14:31 +00:00
enami 04553a3a98 Kill the period in SEE ALSO. 2000-02-02 01:55:55 +00:00
thorpej 732a15a21d Printf formats on LP64. 2000-02-02 01:08:26 +00:00
thorpej dcc6a1beb0 Bump version to 1.4R -- PRU_PURGEADDR, and slightly more stringent semantics
on ifaddr reference counting.
2000-02-01 23:00:41 +00:00
chopps 4483fc0f5f restore irq 10 to pcic_isa_intr_alloc_mask 2000-02-01 22:56:17 +00:00
thorpej 001748dc57 First cut at detach support; doens't fully work yet. 2000-02-01 22:54:47 +00:00
thorpej db8dc44033 Add support for detaching the interface. 2000-02-01 22:53:14 +00:00
thorpej d844a3ac41 First-draft if_detach() implementation, originally from Bill Studnemund,
although this version has been changed somewhat:
- reference counting on ifaddrs isn't as complete as Bill's original
  work was.  This is hard to get right, and we should attack one
  protocol at a time.
- This doesn't do reference counting or dynamic allocation of ifnets yet.
- This version introduces a new PRU -- PRU_PURGEADDR, which is used to
  purge an ifaddr from a protocol.  The old method Bill used didn't work
  on all protocols, and it only worked on some because it was Very Lucky.

This mostly works ... i.e. works for my USB Ethernet, except for a dangling
ifaddr reference left by the IPv6 code; have not yet tracked this down.
2000-02-01 22:52:04 +00:00
chopps d8e72e215d implement probing for available irqs on non-cirrus pcmcia controllers
including cardbus controllers running in pcic mode
2000-02-01 22:39:51 +00:00
thorpej 06f1910920 assar missed one net_write -> telnet_net_write 2000-02-01 22:29:27 +00:00
veego 064dbd29ad Only print one 'IP Filter:' line when it gets enabled or disabled. 2000-02-01 21:41:36 +00:00