thorpej
c1185c1020
PRU_PURGEADDR -> PRU_PURGEIF, per a discussion w/ itojun. In the IPv4
...
and IPv6 code, also use this to traverse PCB tables, looking for cached
routes referencing the dying ifnet, forcing them to be refreshed.
2000-02-02 23:28:08 +00:00
he
91fc7e2be4
Also install preformatted dpt(4) man page.
2000-02-02 22:57:33 +00:00
augustss
eff80a379b
Due to popular demand (hi Bernd), comment out the CardBus entries.
...
Appearently it doesn't work for some chipsets. I think the right way
to fix this would be to only let cbb attach to the working chipsets...
2000-02-02 20:39:35 +00:00
augustss
9e8d441535
Add CardBus support. If it breaks anything, I'm sure we'll know soon. :)
2000-02-02 20:17:13 +00:00
augustss
de5a3532be
Fiddle with some PHY bits on the D-Link adapter as well. From FreeBSD.
2000-02-02 20:06:55 +00:00
augustss
8527b0dc4d
Update for new CardBus devices.
2000-02-02 19:57:17 +00:00
itojun
94f3b7fede
wording fixes (about memory window etc)
2000-02-02 19:54:45 +00:00
augustss
4369c3338a
Change the size of the PCMCIA controller memory window to 64K. Several
...
of the radio LAN cards need it.
2000-02-02 19:48:18 +00:00
chopps
a5dc628e12
manipulate packet counters, support detach, and add commented out code to
...
DTRT on suspend
2000-02-02 18:39:44 +00:00
bouyer
a3bc666f44
Supports nlm version 4 (for use with nfsv3).
2000-02-02 18:17:42 +00:00
bouyer
1503a97acc
Add definitions for nlm version 4 (for use with NFSv3).
2000-02-02 18:15:12 +00:00
thorpej
99f19b7139
Wrap a debugging printf in IFAREF_DEBUG.
2000-02-02 18:02:08 +00:00
itojun
8a6ced5516
make sure to nuke kludge entries, regardless from refcnt.
2000-02-02 17:54:07 +00:00
thorpej
8923ca0b00
Make PHY drivers provide a pointer to their status routine, and add
...
a generic mii_phy_status() that calls back into the PHY. It doesn't
do anything interesting yet, but it will soon.
2000-02-02 17:50:43 +00:00
thorpej
94b1e4084a
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:46:42 +00:00
thorpej
eed75dbc26
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
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