Commit Graph

60468 Commits

Author SHA1 Message Date
itojun 25db46c9cf fix advanced api bug. (sync with snap)
this is for 2292bis case, and netbsd-current is not affected - the commit
is to avoiding buggy code from spreading around.
2000-02-03 06:59:35 +00:00
thorpej 44a20a6c96 If we read a bad header signature, report what we read. 2000-02-03 06:47:31 +00:00
thorpej 5802ccb9c9 In ahc_intr(), if initialization failed, don't try to service the
interrupt.
2000-02-03 06:25:09 +00:00
thorpej a084fd2f81 Some PHYs go off into left field for a few seconds if you attempt to kick
autonegotiation while it's already enabled.
2000-02-03 06:11:13 +00:00
chopps 68a7084f0c attempt to make this more like the std indicates 2000-02-03 06:07:06 +00:00
enami 20522c36ed Detach MII if there is. 2000-02-03 06:03:39 +00:00
thorpej 9ff57fe506 Oops, missing return; 2000-02-03 05:38:57 +00:00
jwise bd5dc99ea0 Add package names. Later tonight or tomorrow AM, I will post a writeup of
this to tech-{pkg,install}.  In short, the pkg names in (new) second
field will be used by the build process under basesrc/src/dist/pkg to
generate PLISTs.  The package divisions here may be two finely or coarsely
grained, although I think they're a happy medium -- I will give more
detail/justification in the writeup.
2000-02-03 05:27:57 +00:00
nisimura f3837e8a9d Not to use (cfdata->cf_unit > 0) conditional in device match() routine. 2000-02-03 05:22:47 +00:00
nisimura 8e27abd255 Use bus_space_{write,read} for IOASIC register access. 2000-02-03 05:16:30 +00:00
nisimura d60c22d5f7 Nuke mistakenly introduced #include "rasterconsole.h". 2000-02-03 04:23:36 +00:00
nisimura 72b67dec3e Massive change of console initialization to make WSCONS transition easier. 2000-02-03 04:19:59 +00:00
nisimura 3aaeaf7331 - Massive change of console initialization. Have each model its own
consinit().
- Fix fbconnect() and relatives; 'struct fbinfo' is initialized only once,
  making sure no extraneous console resolution message is emitted.
2000-02-03 04:09:01 +00:00
cgd 8d0ed726af nuke inclusion of compat.h 2000-02-03 03:21:52 +00:00
cgd 00e405865e nuke inclusion of compat.h, fix typo in comment about #ifdef 2000-02-03 03:21:23 +00:00
cgd 239dc2e799 add __STDC__ to CPP define list 2000-02-03 03:20:33 +00:00
cgd c84d83a616 nuke inclusion of compat.h 2000-02-03 03:20:03 +00:00
cgd 19c2a289e7 add bzero.c to file list, add __STDC__ to CPP define list 2000-02-03 03:19:11 +00:00
cgd ce844666c1 stub to pull in libsa bzero.c 2000-02-03 03:18:28 +00:00
cgd 3772a52ffc just use __int64 and unsigned __int64 rather than *INT64TYPE 2000-02-03 03:17:23 +00:00
cgd 63a0836e51 instead of just going on as normal if __RENAME() is used in kernel
(_KERNEL) or standalone (_STANDALONE) files, replace it with some
text that'll cause an error.  __RENAME() should never be used in
the kernel (there's no need, at least, with the current way of doing
things), and is downright annoying in standalone code.  (In a standalone
build environment, there may be no sane way to do symbol renaming,
which means that even just faking it and defining it to emptyness
would cause problems if it were actually needed.)
2000-02-03 02:20:13 +00:00
cgd fefea44b6f tread _STANDALONE like _KERNEL: don't rename bswapNN functions 2000-02-03 02:03:12 +00:00
cgd e7b7c3eb15 don't provide these prototypes for standalone programs (as noted by
_STANDALONE):

* most of them are absolutely irrelevant, and not provided in a standalone
  environment!

* those which are relevant and provided (stat() and fstat()) shouldn't be
  __RENAME()d in the standalone environment.
2000-02-03 02:01:53 +00:00
cgd fbf9177d1b provide stat() and fstat() here for standalone programs' use 2000-02-03 02:00:31 +00:00
thorpej 22fe15d7b4 Let mii_phy_setmedia() handle the IFM_AUTO case, too. 2000-02-02 23:34:56 +00:00
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