Commit Graph

32176 Commits

Author SHA1 Message Date
ross add81fb25a New -s option. Arranges for the 64-bit alpha checksum to contain within it
an embedded 16-bit sparc checksum and 16-bit sparc magic number.
See also: rev 1.16
1999-09-19 04:54:57 +00:00
ross 9ff31ad0f5 New option: -s
.
Makes the 64-bit alpha checksum magically contain an embedded 16-bit
Sun (NetBSD/sparc) compatible magic number and checksum. This is the
last piece in the "boot one disk from alpha, sun, and i386" problem.
.
And for those who told me this had been done before, :-P.  It turns out,
it was only done in the collective sense by multi-disk distributions.
1999-09-19 03:19:00 +00:00
shin e088980de7 Bugfix: Initialize 'hz' to CLOCK_RATE. 1999-09-19 00:46:05 +00:00
augustss fb7795c908 Make sure the HC deactivation is propagated. 1999-09-18 11:25:50 +00:00
scw d1c5384e9a Minor optimisation. 1999-09-18 09:45:05 +00:00
scw 500d9b9508 Make the sd, cd and md major numbers match reallity. 1999-09-18 09:42:46 +00:00
scw 7b5b8ca772 Fix a (mostly harmless) NULL de-reference when no boot args supplied. 1999-09-18 09:39:55 +00:00
scw 5e755998cc Tidy up the ethernet buffer allocation code. 1999-09-18 09:37:35 +00:00
scw af10a195af Make sure the '167 phys_seg_list entry for offboard memory is empty. 1999-09-18 09:35:44 +00:00
scw a96f5614ab Make this compile again. 1999-09-18 09:26:00 +00:00
matt 9aab9d330a Make this compile on alpha again. 1999-09-18 05:31:42 +00:00
ad e6f3bfaa3a N10's host interrupt register uses low nybble for interrupt cause, not the
entire word.
1999-09-18 01:50:24 +00:00
ad 91723eaf32 Regen. 1999-09-18 01:46:25 +00:00
ad 697eb331c5 Ammend some entries. 1999-09-18 01:46:01 +00:00
thorpej 9002796d07 If the interface is not marked as running, abort tlp_intr() early. 1999-09-17 21:57:36 +00:00
thorpej 79f938f5f8 Fix a few buglets in the multi-port 21040 code. ZNYX ZX314 confirmed
working now.
1999-09-17 21:55:01 +00:00
thorpej 0d7a86c356 - Centralize the declaration and clearing of `cold'.
- Call configure() after setting up proc0.
- Call initclocks() from configure(), after cpu_configure().  Once the
  clocks are running, clear `cold'.  Then run interrupt-driven
  autoconfiguration.
1999-09-17 20:11:56 +00:00
thorpej 11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
tsubai e9cc963b20 Small optimization. 1999-09-17 15:20:54 +00:00
itojun b3d9b0130c eliminate unnecessary splnet(). 1999-09-17 12:26:04 +00:00
tsubai 7bf9aa0fdf s/ _MMEYE_H_/ _MMEYE_MMEYE_H_/ 1999-09-17 12:16:37 +00:00
is 6cf532dd3d Synchronize with fixed libc version:
If unsigned dividend > INT_MAX, or signed dividend == INT_MIN, be careful
to not overflow the divisor when shifting it to the left.
1999-09-17 11:42:56 +00:00
msaitoh adc175c443 check SCI(F)CONSOLE 1999-09-17 01:23:00 +00:00
msaitoh 4a175ef57d options SCICONSOLE
options SCIFCONSOLE
1999-09-17 01:21:40 +00:00
ad 54943e8584 - Collapse forward and reverse cases in rasops_copyrows() into one
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF
1999-09-17 00:22:07 +00:00
ad da0cbab431 Clean up attribute allocation some more. 1999-09-17 00:09:34 +00:00
msaitoh 9af0f68f52 - set nkpde from IOM_RAM_SIZE
- remove MMEYE_LED
1999-09-16 22:52:11 +00:00
augustss 97a24aa488 Make defines follow the standard. 1999-09-16 21:53:58 +00:00
msaitoh 4014b40eb8 cleanup 1999-09-16 21:39:24 +00:00
msaitoh 3323319940 add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:31:29 +00:00
msaitoh 5a99c25885 sync with mmeye 1999-09-16 21:23:40 +00:00
msaitoh 29a76c3593 fix mask_irq() and unmask_irq() for SH7750 1999-09-16 21:22:40 +00:00
msaitoh fd0dba8d22 sync with bscreg.h 1999-09-16 21:20:20 +00:00
msaitoh 31f498776d add "device fdc {drive = -1}" for pcmcia 1999-09-16 21:18:55 +00:00
msaitoh f921a6e9c5 sync with tmureg.h 1999-09-16 21:17:46 +00:00
msaitoh 9211d6bed4 sync with sci*.h and tmureg.h 1999-09-16 21:17:26 +00:00
msaitoh d9a70fd1dc cleanup 1999-09-16 21:15:36 +00:00
drochner 61ab682f29 set baudrate before talking to the keyboard (in non-console case)
from Konrad Schroder per PR port-alpha/8422
1999-09-16 19:39:05 +00:00
augustss a4457e18b3 More DIAGNOSTIC paranoia. 1999-09-16 19:20:34 +00:00
christos 75d8e5904a Regen 1999-09-16 18:19:11 +00:00
christos 36140f8037 fix olseek botch 1999-09-16 18:18:28 +00:00
jdolecek 61cf56ebf2 introduce new variable wsdisplay_defaultscreens (initialized to
WSDISPLAY_DEFAULTSCREENS or 0 if it's not defined) and use it instead
of WSDISPLAY_DEFAULTSCREENS as approptiate, so that number of screens
added on bootup is patchable

move printing of info about added screen into separate routine and
print just one message for all screens added in wsdisplay_common_attach(),
such as:
	wsdisplay0: screen 1-7 added (80x25, vt100 emulation)

while here, do minor const poisoning

Reviewed by: drochner
Tested by: jdolecek
1999-09-16 18:16:51 +00:00
matt 458fefc5ad Compile the kernel for SHARKs optimized for strongarm. 1999-09-16 16:49:49 +00:00
msaitoh 99ca8c39f5 unused file (we have an asm version) 1999-09-16 15:04:13 +00:00
chs b9604a3f30 make this compile again after PMAP_NEW cleanup. 1999-09-16 14:52:06 +00:00
msaitoh 7977bd843d enclose tlbflush(), disable_intr() and enable_intr() with #ifder _KERNEL 1999-09-16 14:42:27 +00:00
minoura 15a7aff6f8 Sync (hp300). 1999-09-16 14:40:21 +00:00
takemura 6f19920b47 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-16 14:37:47 +00:00
minoura da2dab0c10 Finish PMAP_NEW.
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
 - Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +00:00
msaitoh 224d34b5e1 remove sh3/include/mmeye.h 1999-09-16 13:32:24 +00:00
msaitoh ffbd08b126 remove extra Id 1999-09-16 12:48:35 +00:00
msaitoh 814f6b8936 add NetBSD RCS ID 1999-09-16 12:48:06 +00:00
takemura db2b0adebd Import NetBSD/hpcmips source files from hpcmips repository.
file list:
        sys/arch/hpcmips/
        distrib/hpcmips/
        etc/etc.hpcmips/
        lib/libc/arch/mips/fplib/
        lib/libc/arch/mips/fplib/Makefile.inc
        lib/libc/arch/mips/fplib/environment.h
        lib/libc/arch/mips/fplib/fplib_glue.c
        lib/libc/arch/mips/fplib/fplib_libc.c
        lib/libc/arch/mips/fplib/hpcmips-gcc.h
        lib/libc/arch/mips/fplib/softfloat-macros.h
        lib/libc/arch/mips/fplib/softfloat-specialize.h
        lib/libc/arch/mips/fplib/softfloat.c
        lib/libc/arch/mips/fplib/softfloat.h
        lib/libc/arch/mips/gen/ieee.h
        lib/libc/arch/mips/gen/sf_fabs.c
        lib/libc/arch/mips/gen/sf_flt_rounds.c
        lib/libc/arch/mips/gen/sf_fpgetmask.c
        lib/libc/arch/mips/gen/sf_fpgetround.c
        lib/libc/arch/mips/gen/sf_fpgetsticky.c
        lib/libc/arch/mips/gen/sf_fpsetmask.c
        lib/libc/arch/mips/gen/sf_fpsetround.c
        lib/libc/arch/mips/gen/sf_fpsetsticky.c
        lib/libc/arch/mips/gen/sf_isinf.c
        lib/libc/arch/mips/gen/sf_ldexp.c
        lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00
leo f7fd8ced64 Remove FP-emulation from the TT-kernel. All TT's should have an FPU. 1999-09-16 12:00:04 +00:00
leo b9b9cc8cb9 Make this compile again. 1999-09-16 11:58:49 +00:00
soren 6c591e77d0 Fix botched RCS IDs. 1999-09-16 05:58:18 +00:00
sommerfeld e8a86fe7eb Include <lib/libkern/libkern.h> instead of <sys/systm.h>.
(the former no longer has mem* prototypes).
Remove the b* vs mem* kludge.
This change allows standalone libkern to build on alpha again.
1999-09-16 00:06:46 +00:00
thorpej 6266379c9d Be slightly more informative in the tsleep() diagnostics. 1999-09-15 21:54:57 +00:00
augustss 09774ca21c Remove one, add none! 1999-09-15 21:14:44 +00:00
augustss 2557320246 Handle the case when a USB transfer is so long that it crosses two page
(4K) boundaries.  OHCI cannot do that with a single TD so we make a chain.
1999-09-15 21:14:03 +00:00
augustss 7fcc1703ff Cosmetic change: s/xfer/data/ 1999-09-15 21:12:29 +00:00
augustss 80e09c28e9 Use a bigger buffer when transferring data. 1999-09-15 21:11:27 +00:00
augustss 58c7de99c1 Move the code around a little and clearly mark how to delay attachment
(during cold boot) until the interrupts are on.
1999-09-15 21:10:11 +00:00
augustss 5260cadff2 Add a sanity check to the computed actual transfer length. 1999-09-15 21:08:59 +00:00
augustss d4f0eac72e Change SPLUSBCHECK diagnostic macro a little. 1999-09-15 21:08:19 +00:00
is f5050d025a We only need the ether_ipmulticast_min and _max addresses if we have INET
compiled in.
1999-09-15 20:48:19 +00:00
thorpej e8431098fe Add a mechanism to defer configuration of children until interrupts
are enabled.
1999-09-15 19:37:08 +00:00
thorpej 8995425278 Prototype cpu_configure(). 1999-09-15 19:35:53 +00:00
thorpej 3b01d1b872 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
augustss e54df1b10c Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.
1999-09-15 14:17:14 +00:00
augustss 60199e09b6 Regen. 1999-09-15 13:57:26 +00:00
augustss df70e460db Make vendor names more consistent. 1999-09-15 13:57:09 +00:00
augustss adc55421b4 Regen. 1999-09-15 12:31:28 +00:00
augustss f14a3915b3 Add a number of devices and rename a few. From a Linux web site. 1999-09-15 12:30:59 +00:00
augustss 7049e8eb1b Add preliminary (untested) code for detaching the USB host controller
(needed for CardBus based controllers).
1999-09-15 10:25:30 +00:00
tsubai a1ab30136f Use MI loadfile. 1999-09-15 09:47:19 +00:00
thorpej f23c7a31b4 Make sure 21040 chips are at least pass 2.0 and that 21140 chips are at
least pass 1.1.
1999-09-14 23:43:10 +00:00
thorpej 70997fd3d5 Move the PCI device number to the base Tulip softc; it will be needed to
decode the SROM on 21041 and 2114x multi-port boards.
1999-09-14 23:33:04 +00:00
thorpej 2def4fdb50 Apparently can't really look at excessive collitions and late collisions
in completed transmit descriptors.  These seem to be set even on successful
packet transmissions on my AlphaStation 500's 21040.
1999-09-14 23:23:32 +00:00
thorpej 5c34356d4c First crack at shared ROM/shared interrupts on 21040 multi-port boards,
plus quirk identification for non-multiple-port boards.
1999-09-14 22:25:48 +00:00
augustss 5486205b69 Regen. 1999-09-14 22:06:44 +00:00
augustss ed9b74f17a Sort out some confusion about which vendor is really Belkin. 1999-09-14 22:06:21 +00:00
chs 3bfa86cbc0 fix breakage from PMAP_NEW cleanup. 1999-09-14 17:11:45 +00:00
tsubai 67f4885c8c Sync with -current. 1999-09-14 11:21:26 +00:00
tsubai 17dc484c1c Sync with -current.
XXX root on nfs don't work, though root on wd0 works well.
1999-09-14 11:20:52 +00:00
tsubai 40905bd3ec Catch up with -current. 1999-09-14 10:22:34 +00:00
augustss a6aa488db9 Don't do IO before we have set the tag and handle. 1999-09-14 09:29:05 +00:00
thorpej e2a320f925 Oops, fix Winbond regshift. 1999-09-14 05:59:53 +00:00
thorpej d05d28146b EISA bus front-end for the New Tulip Driver, for the DEC DE425 EISA
board.  The DE425 is basically a DECchip 21040 on an EISA board, plus
a Cool Address Decoder Hack which maps the PCI configuration
space registers into EISA I/O space, interleaved with the Tulip CSRs,
which are spaced further apart than on the PCI versoin.

This is currently *untested* until the DE425 boards that folks have
promised me arrive.  But, it should work, since the 21040 works.
1999-09-14 05:58:00 +00:00
thorpej 12c167b5ca Change the semantics of `sc_regshift'; it is now the shift required to
make a CSR index number into a CSR offset.  Introduce a couple of macros
to handle CSR name -> offset conversion.
1999-09-14 05:52:21 +00:00
thorpej 29df848753 Need <string.h> for memcpy(3) prototype if building from userland. 1999-09-14 04:50:54 +00:00
augustss 10d4a4d5fe And commit two files I forgot in the rearrangement for testing for
interrupt context.
1999-09-14 01:07:13 +00:00
thorpej a03bd733ca - More PNIC NWAY stuff. Still more work to do, here.
- Fix the SROM checksum routine.
- Add code to parse the old DEC Address ROM SROM format.
- Rearrange the statchg routines a bit, to make them consistent with one
  another.
- Add support for the DECchip 21040.  XXX No support for media autosense
  yet, and no support for any of the multi-port boards yet.
1999-09-14 00:55:38 +00:00
augustss c4d6d6b991 Put a reference counter in the softc. Without this the driver might access
data that has been freed because the detach() routine returns to early.
1999-09-13 21:35:08 +00:00
augustss ba2c2e2ade * Make sure an aborted pipe is marked as not running.
* Start queued request in the right order.
* Insert some more DIAGNOSTIC sanity checks.
1999-09-13 21:33:25 +00:00
jdolecek df6f3652dd ntfs_mountfs(): only print warnings iff NTFS_DEBUG 1999-09-13 20:21:45 +00:00
tron 5f94d21164 Fix typo in "#ifdef" in ie_read_frame() which prevented Berkeley Packet
Filters from working correctly. Fixes PR port-arm32/8343 by
Richard Earnshaw.
1999-09-13 20:17:35 +00:00
augustss bc5da9a8da Make sure timeouts count as interrupt context too. 1999-09-13 19:49:41 +00:00
augustss ff6a476e6c Rearrange the code a little so we can decide if we are in process
or interrupt context in a reliable way.  Mainly used for DIAGNOSTIC.
1999-09-13 19:18:17 +00:00
msaitoh 427928b3a1 add some comments. 1999-09-13 19:13:09 +00:00
msaitoh 7a7f9c0763 sh3/sh3/ -> sh3/dev change 1999-09-13 17:14:42 +00:00
msaitoh ac3fe6d372 remove mainbus pseudo floppy drive 1999-09-13 16:26:17 +00:00
itojun 14971ca02a add local def for CXX. 1999-09-13 15:50:01 +00:00
itojun 6b9bfc0691 - Call in{,6}_pcbdetach if ipsec initialization is failed during PRU_ATTACH.
This situation happens on severe memory shortage.  We may need more
  improvements here and there.
- Grab IEEE802 address from IFT_ETHER card, even if the card is
  inserted after bootup time.  Is there any other card that can be
  inserted afterwards?  pcmcia fddi card? :-P
- RFC2373 u bit handling suggests that we SHOULD NOT copy interface id from
  ethernet card to pseudo interface, when ethernet card has IEEE802/EUI64
  with u bit != 0 (this means that IEEE802/EUI64 is not universally unique).
  Do not use such address as, for example, interface id for gif interface.
  (I have such an ethernet card myself)
  This may change interface id for your gif interface.  be careful upgrading
  rc files.

(sync with recent KAME)
1999-09-13 12:15:54 +00:00
itojun 8a72d1850e add compilation directory. 1999-09-13 10:45:30 +00:00
itojun 65363da25e Merge in NetBSD/sh3 from cvs.kame.net repository.
Tree structure:
- sys/arch/sh3: sh3 generic code
	As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
1999-09-13 10:30:21 +00:00
mark eddd4afb9c Fix compile errors when ARM700BUGTRACK is defined. 1999-09-13 06:17:27 +00:00
mark a212e2ddf3 Add ess plug and plug audio device.
Add wsmux device.
Add placeholders for more PCI cards.
1999-09-13 05:19:45 +00:00
itojun e0042cf412 drop wrongly looped back multicast packet before we put it into BPF. 1999-09-12 18:26:58 +00:00
augustss eadd0f76da Add needs-flag to ukbd. Fixes PR 8385 from Izumi Tsutsui
<tsutsui@ceres.dti.ne.jp>.
1999-09-12 17:40:57 +00:00
jdolecek 8afb0d9308 pull-in <sys/mount.h> for definition of struct netexport 1999-09-12 16:41:05 +00:00
augustss b1a719a6cc Add a flag in the request to determine if the data copying is done by the
driver or the usbdi layer.
1999-09-12 08:23:42 +00:00
augustss 305998532f Dot't forget to deactivate subdevices. 1999-09-12 08:21:49 +00:00
thorpej febf7ffb86 Display more verbose information about the command protocol and wire
protocol used by the device, e.g.:

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.00/1.00, addr 2
umass0: SCSI over Bulk-Only (iclass 8/6/80)
1999-09-12 02:40:59 +00:00
chs f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
thorpej f696794a34 Hot-unplug works now. 1999-09-11 21:45:28 +00:00
thorpej f77302e768 Implement detaching SCSI and ATAPI disks. 1999-09-11 21:42:58 +00:00
thorpej e8dded5513 Implement a function to kill off all commands pending for a given
scsipi_link.
1999-09-11 21:39:53 +00:00
thorpej 5116cf4fa5 Implement detaching of SCSI busses. 1999-09-11 21:25:26 +00:00
thorpej f7c20484b6 - If a command fails, assume the device returned CHECK CONDITION status,
and issue a REQUEST SENSE.  This fixes the media change problems I was
  having w/ my USB ZIP drive.
- Clean up some debugging code.
- Implement more hot-unplug stuff.
1999-09-11 20:52:07 +00:00
jdolecek 1ec1b491a9 Argh, actually commit the update of ntfsmount structure for NFS
export support, so that it actually compiles.

Thanks Lennart!
1999-09-11 15:55:12 +00:00
dante afa103cfb4 Rewrote error handlers. Now they are solid.
Increesed considerably the speed of the driver removing superfluous splbio/splx functions.
1999-09-11 15:34:45 +00:00
augustss ca8281fbcc Pre-allocate the DMA buffer. This makes the driver slightly more efficient. 1999-09-11 10:40:07 +00:00
augustss 98b6524413 * Move DMA buffer allocation to HC independent code.
* Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.
1999-09-11 08:19:26 +00:00
soren 203f000d1a Regen. 1999-09-11 06:27:36 +00:00
soren dfbe7449e4 Add ENI SpeedStream. 1999-09-11 06:27:25 +00:00
mycroft 34b45d9bd7 Obey negative cache entries for intermediate directories during a create. 1999-09-10 23:24:23 +00:00
bad 1a3995bac1 In apciparam() in the ospeed == 0 case, actually set the cfcr to the new
value.
1999-09-10 22:49:33 +00:00
augustss 6a58ae2d93 Regen. 1999-09-10 19:56:51 +00:00
augustss fb9d7d86ae Add more TI CardBus bridges. Taken from the CardBus patches. 1999-09-10 19:55:54 +00:00
augustss 90daa4736b Comment out the GET_DEVICE_ID code, because for some unknown reason it
causes printing to fail sometimes.
1999-09-10 19:28:26 +00:00
jdolecek 993576f366 mountroot support written, need to really implement sync support and
add support for NTFS to libsa
1999-09-10 17:32:17 +00:00
jdolecek dee4a028e7 actually implement ntfs_mountroot() 1999-09-10 17:30:08 +00:00
drochner 2c0e7cf113 allow to set boot timeout and password, following PR port-i386/8196
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner 3e60c834ed install /boot -r-------- for security reasons 1999-09-10 16:41:10 +00:00
drochner 4486b15211 -make ustarfs optional (enabled per default) for cases where space is
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by  Stephan Thesing.)
1999-09-10 16:38:46 +00:00
drochner 5c48b9a115 improve awaitkey()'s printout for >9 seconds 1999-09-10 16:23:55 +00:00
jdolecek d779b91513 make NTFS NFS exportable - that also means getfh(2) and other syscalls
using filehandles should work now for NTFS filesystem
some other misc cleanup
1999-09-10 16:14:02 +00:00
drochner ff171dfb67 -don't use DEFS.h nor SYS.h in libkern
-remove setjmp.S, it's not useful for libkern
1999-09-10 15:39:04 +00:00
tron 2d8e6b7e97 Add prototype for memcmp() as suggested by Anders Hjalmarsson in
PR kern/8360.
1999-09-10 14:05:40 +00:00
drochner 7148323ba0 sync with libc 1999-09-10 13:21:14 +00:00
is 3e7102ecac Don't flush more than necessary. By Richard Earnshaw in PR 8132. 1999-09-10 10:12:09 +00:00
drochner 2914ef7fd2 sync with changes to if_fxp header,
thanks to <ks@ub.uni-mainz.de> for testing
1999-09-10 09:12:44 +00:00
pk 132d930986 Fix printf format (see PR#8358). 1999-09-10 08:42:58 +00:00
ross f468c5f199 This is required by libsa/loadfile.c. 1999-09-10 07:33:57 +00:00
ross e66e48676c Nuke the alpha ecoff/elf bootloader and use the libsa/ one instead. 1999-09-10 07:31:16 +00:00
ross 54ab5cdc54 * Fix the volume zero recognition bug; it was interacting with a
feature to avoid rereads (which was added to work around bugs in
  old SRM versions that wouldn't rewind DATs, but would return no
  error on rewind callbacks)
* Initialize the volzero signature in ustarfs_open(), rather than as a
  side effect of the first read.
* Centralize error retry.
1999-09-10 07:22:03 +00:00
simonb fd8040a031 s/acknowledgment/acknowledgement/ 1999-09-10 03:24:14 +00:00
itojun 770a224d1e fix ipcomp behavior against -R to meet documentation.
From: Laine Stump <lainestump@rcn.com>
1999-09-10 02:05:24 +00:00
itojun f5e553eb57 IPv6 support.
ETHERTYPE_IPV6 packets are encapsulated by RFC1042 encap.
Tested with Japanese card, with WaveLan bridge (wiconfig -p 1).
NOTE: I dunno if encapsulating IPv6 packets by RFC1042 is the correct way,
  as RFC1042 only defines behavior for ETHERTYPE_{IP,ARP,REVARP} packets.
  Since WaveLan bridge encapsulates IPv6 packets with RFC1042, we have no
  choice.

Gather joined multicast addresses via SIOCADDMULTI, and configure multicast
filter properly.  This is also required for IPv6 support
(which heavily depends on multicast).

Fix IFF_RUNNING management
- to prevent IFF_RUNNING from raised on "wiconfig", before "ifconfig up"
- to prevent the driver from occupying extra interrupts on "ifconfig up",
  then "down", then "up".
1999-09-10 00:30:59 +00:00