Commit Graph

153904 Commits

Author SHA1 Message Date
dyoung 61e2e920d9 Remove __P(). Use LIST_ macros instead of accessing lh_first
directly.
2006-11-18 16:23:15 +00:00
dyoung 6a611f0c78 Cosmetic: use TAILQ_FOREACH(). Remove superfluous parentheses from
return statements.
2006-11-18 16:17:55 +00:00
dsl 838c3d3c4f Remount mount_kernfs from these - kernfs isn't it the kernels any more. 2006-11-18 16:16:19 +00:00
dsl 202882dcbc Move the programs that are common to all ramdisks into common/list.ramdisk.
The build ramdiskbin programs have the same code size, the overall sizes
differ slightly due to the way rodata.str.1 gets relaxed.
2006-11-18 16:09:57 +00:00
tsutsui 9f13d14c8a Unwrap some lines (after __unused removal). 2006-11-18 16:03:53 +00:00
tsutsui b09d8d340a Rename re_pci_probe() -> re_pci_match(). 2006-11-18 15:58:50 +00:00
pooka e518d4247c elf loader lives in /libexec these days. and besides, it's called
ld.elf_so, not ld.so_elf
2006-11-18 14:32:14 +00:00
tsutsui 655bb5e6f1 Remove options SOSEND_NO_LOAN. Now it's handled in mips/pmap.c. 2006-11-18 14:28:55 +00:00
tsutsui 7cb169d2dd Disable sosend_loan() in sys/kern/uipc_socket.c temporarily on CPUs
which have virtual address indexed cache and whose pmaps don't always
allow normal shared mappings even for read only pages.

In future, these pmaps should be rewritten to handle such read only
shared mappings properly like ARM pmap, but currently we just disable
sosend_loan() to avoid unnecessary uncached mappings and cache flushes
on MIPS3 CPUs, or map/unmap thrashing on SH4.

Discussed with thorpej a while ago.
2006-11-18 14:25:39 +00:00
tsutsui 52e78d1891 yamt-splraiseipl: ews4800mips seems working on my EWS4800/360AD. 2006-11-18 13:48:01 +00:00
pooka 61a717befb prevent value 0 for mnt_stat.f_iosize, it is sometimes used as a divider 2006-11-18 12:50:59 +00:00
pooka 4d33479aef * no more fsid
* no more start()
2006-11-18 12:41:06 +00:00
pooka d69d91cf3e * call statvfs() at mount() time, pass that info along
* start is gone
2006-11-18 12:40:35 +00:00
pooka 0eca4b2eaa Require statvfs info from startreq so that we have that info available.
Also, don't pass fsid to userspace and just fill it in the kernel.
2006-11-18 12:39:48 +00:00
tsutsui d1beedb632 Fix some comments. 2006-11-18 10:37:24 +00:00
dsl 77c391989d Whitespace/comment changes to align text between these files 2006-11-18 10:01:32 +00:00
jld 0919614fc2 Add /l to description of "ps" abbreviation for "show all procs". 2006-11-18 08:48:32 +00:00
tsutsui b27339f35f Regen from pcidevs rev 1.853:
> Add an ID of Broadcom BCM5752M. From Matt Kolb on tech-kern.
2006-11-18 08:33:05 +00:00
tsutsui 78a69946d1 Add an ID of Broadcom BCM5752M. From Matt Kolb on tech-kern. 2006-11-18 08:32:08 +00:00
pooka dfa114e254 As a first generation best-effort hack, use NOCACHE to mean "file
size can change without the kernel knowing" and therefore query
the file size before invoking read or write operations.
2006-11-18 08:18:24 +00:00
yamt 9ef6d9f3e5 qc_reap, qc_destroy: simplify. 2006-11-18 07:51:54 +00:00
yamt c683b6561f vmem_destroy: don't forget to clean up qcache_t. 2006-11-18 07:51:34 +00:00
yamt 23213de881 vmem: share qcache_t if itemsperpage is same. 2006-11-18 07:51:06 +00:00
tsutsui ea45dc497b Replace magic numbers with macro. 2006-11-18 07:40:13 +00:00
tsutsui d56fc00c0d - sync HWREV definitions with FreeBSD
- recognize 8169SC/8100E/8101E (untested, but won't hurt working devices)
  XXX: 8100E/8101E don't support 1000M; need some flag to set if_baudrate
2006-11-18 07:22:06 +00:00
yamt 3c9f21a85b yamt-splraiseipl: fix a typo. 2006-11-18 07:08:47 +00:00
yamt b5ce92a097 yamt-splraiseipl: create a list of notyet ports. 2006-11-18 06:59:24 +00:00
yamt 13b78c37f8 yamt-splraiseipl: a minor tweak. 2006-11-18 06:47:51 +00:00
yamt d2fd2fe1ae yamt-splraiseipl: flatten and sort the list of ports. 2006-11-18 06:46:13 +00:00
oster 93a18158f4 Document 'show all procs /l'. (i.e. catch up with reality) 2006-11-18 01:20:58 +00:00
tsutsui e24d6ea3f8 Regen from pcidevs rev 1.852:
> - add Realtek RTL8100 (from FreeBSD)
> - fix entry of RTL8169SC
> - remove vague comment in Realtek entry
2006-11-18 01:01:23 +00:00
tsutsui 917e45ce9f - add Realtek RTL8100 (from FreeBSD)
- fix entry of RTL8169SC
- remove vague comment in Realtek entry
2006-11-18 01:00:18 +00:00
tsutsui 33b09955d2 Use bitmask ops rather than modulo in RE_NEXT_*() macro since
we can assume each number of descriptors and TX queue is a power of two.
2006-11-18 00:21:36 +00:00
tsutsui 60b7324743 Regen from pcidevs rev 1.851:
> Add and note more Realtek Ethernet chips.
2006-11-18 00:01:14 +00:00
rillig 121d2aa3a7 Added EINTR and sorted the error names alphabetically. 2006-11-17 23:59:33 +00:00
tsutsui e3a0fc1942 Add and note more Realtek Ethernet chips. 2006-11-17 23:57:27 +00:00
tsutsui 654712938e - add some more register definitions from Realtek driver
- sort
2006-11-17 23:41:42 +00:00
christos 37568978dc constify getdate 2006-11-17 22:44:40 +00:00
christos a5486efb24 constify 2006-11-17 22:44:16 +00:00
dsl cbcdf48a7e Add a test for "$@" generating $# of 0 into a shell function. 2006-11-17 22:25:46 +00:00
christos 55b9633384 Documentation for getdate. 2006-11-17 22:18:48 +00:00
tsutsui fbed9c84db COPTS should have -O2 otherwise we'll get no generic optimization.
XXX: I prefer CPUFLAGS, but there isn't any conclusion yet.
2006-11-17 22:18:22 +00:00
christos ff2dbfd3d9 bump libutil for getdate. 2006-11-17 22:13:58 +00:00
christos c8226bf504 getdate is in libutil. 2006-11-17 22:11:28 +00:00
christos ba26b607a4 add getdate. 2006-11-17 22:10:23 +00:00
dsl b5e3384b9c A rather large rototil in the way the parallel make code schedules jobs.
This gives a considerable speedup in the processing of .WAIT and .ORDER.
Both .WAIT and .ORDER stop both the commands of the node, and its dependant
nodes being built until the LH nodes are complete.
.WAIT only applies to the dependency line on which it appears, whereas
.ORDER applies globally between the two nodes.
In both cases dependant nodes can be built because other targets need them.
make now processes the target list left to right, scheduling child nodes
as they are needed to make other nodes (instead of attempting to generate
a bottom-up dependency graph at the start).  This means that 'make -j1'
will tend to build in the same order as a non-parallel make.
Note that:
    all: x y
    x: a .WAIT b
    y: b .WAIT a
does not generate a dependency loop.
But
    x: y
    .ORDER y x
does (unless something elswhere causes 'y' to be built).
2006-11-17 22:07:39 +00:00
dsl 7e3a0208c4 Add some notes about the bogosity of some of the .WAIT stuff.
Remove a 'never had a sane effect' .WAIT from a .ORDER line.
Don't add a (probably incorrect) dependency for 'make install' since
it contradicts a .ORDER line elsewhere when .ORDER applies recursively
to child nodes.
I also think that the stuff that tries to add dependencies between
the stuff that bsd.subdir.mk generates does not DTRT at all.
I suspect that build.sh builds things in an order that avoids issues here.
2006-11-17 21:54:55 +00:00
tsutsui 6590e7b074 Prepare and use an inline function which sets 64 bit DMA address into
struct re_desc to avoid unnecessary 64 bit arithmetic on ILP32 ports.
2006-11-17 21:49:49 +00:00
tsutsui 80b92a7179 Use ETHER_HDR_LEN rather than sizeof(struct ether_header).
BTW, should we have the similar ip4csum-tx bug workaround for fxp(4)?
2006-11-17 21:35:24 +00:00
tsutsui f48e88ab0d Add a workaround for hardware ip4csum-tx bug on re(4) chips.
See discussion on tech-kern and tech-net for details:
http://mail-index.netbsd.org/tech-net/2006/10/21/0000.html
http://mail-index.netbsd.org/tech-net/2006/11/04/0003.html
http://mail-index.netbsd.org/tech-net/2006/11/07/0002.html
http://mail-index.netbsd.org/tech-net/2006/11/12/0000.html
etc.
2006-11-17 21:29:36 +00:00