Commit Graph

89687 Commits

Author SHA1 Message Date
ichiro
0a1465a39c handle vendor and product lookup with common routine 2001-12-16 15:11:19 +00:00
soren
dafad2c49b Obsoleted by @@@'s kernel makefile work. 2001-12-16 14:02:46 +00:00
martin
729b826ecd Fix packet accounting (now netstat -i and netstat -ib show reasonable
values).

Implement a secondary connection-reestablishement mode, which is only
entered after (1) we have successfully transfered payload data over this
connection and (2) if initial retries did not reestablish a session.
In this mode we retry (infrequently) forever, until adminstrator stops
us (by "ifconfig ppppoe0 down"). XXX - need to display this mode in
pppoectl.

It is now possible to pull the DSL modems plug for say 15 minutes, plug
it back in again and just wait. The connection will be reestablished within
three minutes.
2001-12-16 11:40:52 +00:00
takemura
3c28255e30 BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
thorpej
240ebfc364 * Move The Alpha R(RELATIVE) handling into an Alpha-specific code block,
thus isolating the "iffy hueristic" from the rest of the relocation code.
* In the "iffy hueristic", use _GOT_END_, not _DYNAMIC.
* Include the addend in Alpha R(RELATIVE) relocations.
2001-12-16 08:23:25 +00:00
thorpej
f6e3c2a3da Make this compile. Still needs work. 2001-12-16 07:26:22 +00:00
thorpej
583334b6ca Avoid infinite #include recursion. 2001-12-16 07:19:42 +00:00
ichiro
10c8cdf485 missing Misc Attribute of PCMCIA functions
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro
ff638ce5fd support FUJITSU CF EthernetCard
ITCFJ181A

mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro
a4ad95c757 regen 2001-12-16 05:43:16 +00:00
ichiro
dc739ee7b9 add FUJITSU CF EthernetCard
ITCFJ181A
2001-12-16 05:42:46 +00:00
enami
d3efa85632 G/C no longer used saved credential for file i/o. 2001-12-16 04:51:34 +00:00
thorpej
c17876b1d2 Use the elf64alpha_nbsd linker emulation. 2001-12-16 04:26:17 +00:00
tsutsui
7d563fd40e malloc() + memset() -> malloc() with M_ZERO flag 2001-12-16 04:17:02 +00:00
thorpej
7a362db4f3 After discussing the entry point issue w/ rth@redhat.com, add an
elf64alpha_nbsd linker emulation that sets the entry point correctly
for NetBSD.
2001-12-16 04:06:51 +00:00
thorpej
e3e5021be2 We need the versions of ASM_DECLARE_FUNCTION_NAME and
ASM_DECLARE_FUNCTION_SIZE from <alpha/alpha.h>, but <netbsd.h>
re-defines them.  So, re-define them again here to what
we need.
2001-12-16 04:02:48 +00:00
tsutsui
20d126a5b4 Fix comments for ref-count of PT pages. 2001-12-16 03:53:21 +00:00
tsutsui
f7312c690f cosmetics (typo, KNF etc.) 2001-12-16 03:41:57 +00:00
thorpej
72a263b8f7 Catch up with other Alpha-ELF changes. This will get cleaned up
even more somtime soon.
2001-12-16 03:09:19 +00:00
thorpej
80ed7d6a42 Clean up a bunch of the ELF support (looks like there was some sort
of merge error), and make the function/object type/size macros work
with the Alpha.
2001-12-16 03:07:59 +00:00
gmcgarry
ac1f9fcc8c When attaching as console, unmap the device on failure. 2001-12-16 02:02:05 +00:00
martin
c8006a73d3 Remove some spurious (debug?) output. 2001-12-16 00:55:40 +00:00
bjh21
b17e1abb0f Use the MI DP83905 support for media selection on those cards that use it. 2001-12-16 00:23:59 +00:00
bjh21
7f32875295 if_media support for the DP83905 AT/LANTIC (a souped-up DP8390). 2001-12-16 00:22:43 +00:00
bjh21
2ca506c0ca if_ne_pbus needs the "mx98905" attribute. 2001-12-15 23:48:38 +00:00
fredette
d3a28a576e Rather than using nlist(3), use a magic structure with a magic
number that installboot(8) can search for.  Suggested by cgd@netbsd.org.
2001-12-15 23:09:50 +00:00
fredette
c9e7d7b7ba On the sun2, added support for loading larger kernels,
and pull objects from the libgcc in DESTDIR.
2001-12-15 23:02:34 +00:00
bjh21
7bc474a92b mod() was unused. g/c it. New code should use abs() anyway. 2001-12-15 22:41:44 +00:00
fredette
175ee0ab88 Fixed a bug where we weren't checking for required or
forbidden locators correctly, especially physical addresses.
2001-12-15 22:39:17 +00:00
fredette
9976af904a Remove some devices that aren't needed in INSTALL or RAMDISK
kernels, reenable NFS v3, and enable kernfs in INSTALL.
2001-12-15 22:22:13 +00:00
bjh21
eefdf030c9 Simplify the pixel-clock-rate-setting code, so it always works out the
parameters from first principles rather than using a static table for some
rates.  This makes it work correctly on ARM7500, for which the table was
bogus (ARM7500 has a different refclk from VIDC20).
2001-12-15 22:21:46 +00:00
fredette
74e4ac42de Be sure to mark in the prototype attach args
that a physical address is required for each
device on this bus.
2001-12-15 22:13:11 +00:00
jhawk
521fae39bb .Nm punct => .Nm "" punct
minor markup fixes.
2001-12-15 21:21:00 +00:00
martin
7801c694b0 Enable additional error messages for the discovery phase, clarify some
others. Change one timeout slightly - we need to make all others user
settable.
2001-12-15 20:43:31 +00:00
martin
f19c69323c Make reconnects after LCP keepalive detected an error actually work. 2001-12-15 20:40:37 +00:00
bjh21
7de3bbbbe3 Use the MX98905 bug workaround for EtherN and EtherI cards. 2001-12-15 20:30:06 +00:00
thorpej
85d454e712 Reset ENTRY to __start (this was changed to _start in rev 1.5
of this file in the master FSF sources; I obviously disagree
with the change, since it was apparently made to appease one
particular OS, even though previous binutils releases had been
made with ENTRY=__start, and have brought it up on
binutils@sources.redhat.com).
2001-12-15 17:55:39 +00:00
bjh21
c72d5d40dd Add code to support the bugged Macronix MX98905 chip, as used in several
podulebus Ethernet cards.  This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.

This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
thorpej
f589c8c881 Make sure SET_ASM_OP is undefined; the Alpha assembler uses .set
for assembler options.
2001-12-15 16:49:57 +00:00
soren
8918a1ba7f Reflect pcmcia_mem_map(9) interface change. 2001-12-15 13:23:29 +00:00
soren
875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
3514260fd4 Regen. 2001-12-15 13:18:10 +00:00
soren
c425f6ea72 Add Cologne Chip Designs ISDN controller. 2001-12-15 13:17:49 +00:00
soren
171d50ebca By analogy with cardbus.9, call it 'PCMCIA PC-Card'. 2001-12-15 12:43:36 +00:00
soren
6a76b36417 Use regular read/writes for stream variant calls. 2001-12-15 12:39:55 +00:00
soren
e324e87ca8 Fix typo in comment. 2001-12-15 12:01:55 +00:00
soren
3022b71f80 Correct copyright header. 2001-12-15 11:45:24 +00:00
soren
df984ecc52 Use bus_size_t's for bus space read/write offsets. 2001-12-15 11:41:09 +00:00
wdk
505a7027b6 Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
during BUS_DMASYNC_PREREAD.

Fixes problem where SCSI bus probe didn't read meaningful identity data.

Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem.   Some thought needs to be given to whether there is a performace
difference between these two cases.
2001-12-15 11:33:13 +00:00
wdk
c49454c890 Declare KGDB hook functions. 2001-12-15 11:17:03 +00:00