itojun
f5fba17f1b
implement in6_purgemkludge(). in6_ifdetach() calls it to avoid dangling
...
kludge entries. the situation would occur if you take the following steps:
- join multicast groups (default ones like linklocal all-node is fine)
- remove all IPv6 addresses manually
- remove pcmcia card
to thorpej: pls call in6_ifdetach() when PRU_PURGEIF is raised (just before
removing ifnet). it should do the right thing (unable to perform real test
though)
2000-02-02 16:58:10 +00:00
danw
9cf3b29a57
Make the device_register code work on machines with multiple PCI bridges
...
with the same bus number (like the new G4s). Also, don't hardcode the
size of the pci_bridges array.
2000-02-02 16:41:56 +00:00
hubertf
db217da391
add example for HP Laserjet with JetDirect ethernet card
2000-02-02 16:04:51 +00:00
itojun
b2cac6e684
if_detach for sm/pcmcia.
...
with addition of resource allocation flags in softc (to DTRT on detach).
2000-02-02 16:04:40 +00:00
hubertf
61e71b247c
document PACKAGE_DEPENDS_WITH_PATTERNS
2000-02-02 15:54:33 +00:00
minoura
93d494f9a5
Take care of National Geode (Cyrix MediaGX) built-in clock module bug.
...
Patch supplied by INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>, kern/8654.
2000-02-02 15:26:27 +00:00
agc
199e667b0f
Add RCS Id and Copyright.
2000-02-02 15:12:10 +00:00
hubertf
b932078a68
remove clutter left after switching to mkstemp
2000-02-02 14:54:50 +00:00
enami
586595e6d4
Make irq probing controled by patchable variable and disable on hpcmips
...
by default. It doesn't work on hpcmips.
2000-02-02 14:44:09 +00:00
hubertf
4b164aae49
Use mkstemp instead of mkstemp.
2000-02-02 14:42:53 +00:00
enami
f7096eef97
Fix typo; not PCIC_DEBUG but PCICDEBUG.
2000-02-02 14:23:48 +00:00
hubertf
45d0c80c1d
add copyright and (more important!) _RCS_ID()
2000-02-02 14:09:40 +00:00
itojun
6f13dac00f
remove route to link-local allnodes multicast address (ff02 ❌ :/32),
...
when the last IPv6 address on an interface is get removed.
in6_ifattach() configures it and in6_ifdetach() removes it.
XXX last part of in6_purgeaddr looks very ugly, but there's no event for
"interface detach" (events are for "address detach").
2000-02-02 13:44:05 +00:00
augustss
cee0dfa2d5
Add rnd_source.
2000-02-02 13:22:07 +00:00
augustss
c9d8358135
Generate usb events on attach and detach.
...
Clean up detach a little.
2000-02-02 13:21:25 +00:00
augustss
3a1229e779
Generate usb events on attach and detach.
2000-02-02 13:20:59 +00:00
augustss
aae9ac7e11
Generate usb events on attach and detach.
...
Handle rnd stuff correctly.
2000-02-02 13:19:44 +00:00
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