Commit Graph

96801 Commits

Author SHA1 Message Date
thorpej 3e669d3bca * Increase the number of Tx job queue entries from 32 to 64.
* Garbage-collect some unused stuff.
* Make the Tx window slide along the Tx job queue space, not the
  Tx descriptor space.  We are more likely to run low on DMA maps
  than we are hardware descriptors.
2002-05-09 01:00:12 +00:00
matt 983a0a0749 LMC_CTL_LEN1 and LMC_CTL_LEN2 extracted each other's fields. Stop doing
that.
2002-05-09 00:58:45 +00:00
thorpej 3ce23a4ac6 * Instrument the number of times we force a Tx interrupt.
* When forcing an interrupt, make sure that interrupt-delay-enable is
  cleared (necessary with last change to make sure it's set for all
  descriptors).
* Crank up the Transmit Interrupt Delay Value to 1024 * 1.024 msec.  We
  really want these to be deferred.
2002-05-09 00:41:06 +00:00
lukem 55f953bfa3 fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
2002-05-08 23:11:56 +00:00
thorpej 7d3e137a0c Hard-wire CLKF_BASEPRI() to 0 on the ARM, since spllowersoftclock() might
not actually be able to unblock the interrupt, which would cause us
to run the softclock interrupts with hardclock blocked.

Per discussion w/ Charles Hannum.
2002-05-08 22:22:46 +00:00
lukem 04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
thorpej 88f6c3663b Don't set WTX_TCPIP_CMD_TCP or WTX_TCPIP_CMD_IP in the TCP/IP context
descriptor.  Those are apparently only valid if using the Cordova's
"segmentation offload" feature.
2002-05-08 21:43:10 +00:00
thorpej d680cf3220 * Make sure the interrupt-delay bit gets set on ALL descriptors,
except for the one we want to force a Tx interrupt.
* Tweak the Tx descriptor accounting a little.
2002-05-08 21:22:20 +00:00
thorpej 3992641218 Implement a cache for the outbound IP/TCP/UDP checksum offload
context.
2002-05-08 19:00:27 +00:00
mycroft bfea3f39cb Wire CLKF_BASEPRI() to 0 on this platform. (See tech-kern.) 2002-05-08 18:45:49 +00:00
chris ae7f07a2ab Add detection for the NetGear FA411. It just seems to work as an ne device. 2002-05-08 18:18:55 +00:00
scw bf8faa9dd5 Update to reflect FT8U232AM support. 2002-05-08 18:11:28 +00:00
scw b6ce571885 Add support for FTDI USB->Serial adapters based on the FT8U232AM chip.
Changes inspired by the latest linux version of the driver.

This gets the dongle supplied with my HP Omnibook working (it has no
legacy com(4) ports).
2002-05-08 18:10:19 +00:00
scw 5550c45ad4 Regen. 2002-05-08 18:06:47 +00:00
scw 5cbc5940fc Add product ID for FTDI USB<->Serial adapter based on FT8U232AM chip. 2002-05-08 18:06:09 +00:00
thorpej 935179d022 * Account for the descriptor consumed by the Tx checksum offload
context setup.
* Implement Matt Thomas's sliding Tx interrupt window algorithm,
  forcing an interrupt when the Tx desc list is 2/3 consumed.
* Use the Report Packet Sent interrupt, rather than Report Status,
  since we use the Tx descriptor to count Tx errors.
2002-05-08 17:53:28 +00:00
uwe afd360002d Oops, mspcic_bus_mmap was, effectively, adding offset twice.
While here, add __KERNEL_RCSID.
2002-05-08 16:51:39 +00:00
fredette 73addee855 Some changes to the sun2 distrib docs to reflect reality. 2002-05-08 16:32:54 +00:00
drochner 3c33c0f57e Since the minor numbers belonging to the partitions of a disk are not
contigous anymore, we can't call vdevgone() for the whole range at once.
(we should probably change the vdevgone() interface)
This also fixes some wrong use of DISKUNIT().
2002-05-08 15:49:07 +00:00
fredette 401ee1a909 The miniroot now has a .fs extension. 2002-05-08 15:32:58 +00:00
isaki 8043fd5e17 This is obsoleted by MI distrib. 2002-05-08 14:18:48 +00:00
pooka 63fa8767c1 s/un/r&/ 2002-05-08 14:02:21 +00:00
pooka 6562508c4b Make INDY the Indy config file
Add DRAKEN as a model of what to do with the O2 (effectively the same
file as the old INDY)
2002-05-08 13:52:17 +00:00
jdolecek bdab257c56 add skeleton snapshot/release build hook
someone should actually write the distrib bits for luna68k eventually
2002-05-08 13:50:22 +00:00
jdolecek 8c1a587c2e sgimips doesn't have GENERIC ATM 2002-05-08 12:17:47 +00:00
jdolecek 7ad1acf323 use ${.OBJDIR} rather than ${.CURDIR}/obj.${MACHINE} (eek)
g/c -I${.CURDIR} and -I${S}/lib/libkern from ${INCLUDES}
build libsa dev_net.c via .PATH and SRCS rather than special rules
2002-05-08 11:27:30 +00:00
lukem 67331f09d5 improve how gzipping is done to reduce amount of temp files, etc. 2002-05-08 07:57:09 +00:00
lukem 3f26d4dd33 remove comments left over from my NDWO conversion 2002-05-08 07:48:39 +00:00
lukem 577e5e06d2 obsolete /usr/mdec/installboot 2002-05-08 04:14:23 +00:00
lukem 102d350f21 change references to /usr/sbin/installboot 2002-05-08 04:13:14 +00:00
lukem 4ec732199e nuke MD installboot (ok-ed by thorpej) 2002-05-08 04:09:46 +00:00
lukem 0b9ef78b44 obsolete /usr/mdec/installboot 2002-05-08 04:05:41 +00:00
matt 2f836188fb If the detected media is gigabit, change the gem to use GMII mode otherwise
switch back to MII mode.  Keep a sliding window for TX segments and when it
gets > 2/3 full, request a TX interrupt (window gets reset when the h/w TX
queue is empty).  Add dv_xname to a few printfs.  With the above changes,
the gem driver will now work on Macintoshes, even in GigE mode.  On a 733
PowerMac G4 it gets ~355Mb/s TX and ~280Mb/s RX to/from an Alpha XP1000.

XXX mii autoselect is still flakey.
2002-05-08 02:12:55 +00:00
drochner 162314b746 regen 2002-05-07 18:23:23 +00:00
drochner 6c432706fa add EasyDisk Flash Disk 2002-05-07 18:22:56 +00:00
fredette e69bcedcef Now include distrib/common/Makefile.distrib. 2002-05-07 17:15:00 +00:00
lukem 535cb8be26 enable (default) libhack for all miniroots.
for atari, also add gethost.o (as before)
2002-05-07 14:59:34 +00:00
lukem 073a06669e migrate to usr/sbin/installboot 2002-05-07 14:50:39 +00:00
lukem 0f53a888fc migrate to /usr/sbin/installboot or ${INSTALLBOOT} as appropriate 2002-05-07 14:47:45 +00:00
lukem c924434885 this needs to be ${INSTALLBOOT}ed 2002-05-07 14:44:06 +00:00
lukem 875330dd7f major overhaul; convert to NDWO.
this needs to build two images and one gzipped tar file:
	- install.fs: to mdset into netbsd.INSTALL
	- inst.tgz: contents of install.fs
	- miniroot.fs: install.fs + gzipped GENERIC kernel.  created using a
	  copy of the crunched ramdiskbin built for install.fs
share much of the miniroot.fs build goop from ../instfs/*
2002-05-07 14:41:36 +00:00
lukem 681ca7d1c9 keep ${IMAGE} around even after building (optional) ${IMAGE}.gz 2002-05-07 14:27:25 +00:00
pk eb95178e15 Patch up to work with MI installboot(8). 2002-05-07 14:13:02 +00:00
isaki af51b338a9 Reduce pty to make more smaller install image. 2002-05-07 14:13:01 +00:00
isaki 62ed4db5a4 Dig installation/misc. because new distrib/x68k does not create it. 2002-05-07 14:11:37 +00:00
isaki 7f9ea1c2f8 Rewrite with MI distrib. based on Minoura-san's work.
it makes x68k port cross buildable.
2002-05-07 14:08:30 +00:00
isaki 7478065a57 Move common files into floppies/common directory.
bootfloppy-common/Makefile.inc    -> common/Makefile.bootfloppy
 instkernel-common/Makefile.inc    -> common/Makefile.instkernel
 ramdisk-common/Makefile.inc       -> common/Makefile.ramdisk
 ramdisk-common/*                  -> common/*
2002-05-07 13:55:40 +00:00
jdolecek 87f82807b0 some whitespace cleanup 2002-05-07 13:03:47 +00:00
lukem 360df462b4 decommission usr/mdec/installboot 2002-05-07 12:49:39 +00:00
pk 5a355629e8 Add crunched /usr/sbin/installboot. 2002-05-07 12:46:19 +00:00