Commit Graph

192269 Commits

Author SHA1 Message Date
pooka
6a86e782e9 * remove target node from right directory
* remove what i guess to be a useless if-clause (although with
  file systems you can never be sure)
2010-07-14 16:59:35 +00:00
pooka
083df92b14 return same errno as ffs 2010-07-14 16:03:49 +00:00
jym
b1392d44f0 Fix typo in comment. 2010-07-14 14:42:40 +00:00
pooka
28a6875445 check we don't rename onto a non-empty directory 2010-07-14 14:22:15 +00:00
pooka
b79f37ef16 RENAME lookup semantics say return EISDIR if dvp = *vpp for the
last component .... obviously(!!)
2010-07-14 14:07:37 +00:00
pooka
58d9a55076 prevent rename of source directory under itself 2010-07-14 13:09:52 +00:00
jnemeth
a7428f3211 When searching PROM data to get a MAC address, search for National
Semiconductor Saturn data as well as Sun Cassini data.
2010-07-14 09:52:39 +00:00
jnemeth
7535698c7d Don't leak kernel stack data when an enaddr can't be found. 2010-07-14 04:50:28 +00:00
msaitoh
5af09cfe90 - s/TBDA/TDBA/. It stands for Transmit Descriptor Base Address.
- The document says that the TDH register must be set after
  TCL.EN is set on 82575 and newer devices.

TODO:
- ip4csum doesn't work on 82575 and newer devices (reported by Paul Goyette),
  so we have to fix it.
2010-07-14 00:11:06 +00:00
msaitoh
e2e9dc6ae8 Add three card support from Tsubai.
- Advantech PCI-1604UP (2S)
 - InnoSys Keyspan SX Pro (4S)
 - I-O DATA RSA-PCI2 (2S)
2010-07-13 23:46:19 +00:00
msaitoh
80df369a1d regen. 2010-07-13 23:41:30 +00:00
msaitoh
07f6ac5ad5 Add Advantech PCI-1604 2010-07-13 23:40:56 +00:00
rmind
bcc65ff09f Split-off IPv4 re-assembly mechanism into a separate module. Abstract
into ip_reass_init(), ip_reass_lookup(), etc (note: abstraction is not
yet complete).  No functional changes to the actual mechanism.

OK matt@
2010-07-13 22:16:10 +00:00
rmind
29dd668442 Add a regression test for IPv4 reassembly. Cases:
- Normal (valid) fragments.
- Fragment with ip_off + hlen lower than IP_MINFRAGSIZE - 1.
- Different ip_tos values in fragments.
- Fragment data length which is not multiple of 8 bytes.
- Duplicate fragments (one covering previous).
- Packet larger than IP_MAXPACKET after reassembly.
- No last non-MF fragment (causing of timeout).
2010-07-13 22:13:18 +00:00
jmmv
9d0b4b5bb8 Get rid of static Atffiles and let bsd.test.mk generate them on the fly. 2010-07-13 21:13:21 +00:00
jmmv
2474b0ebb5 Set ATFFILE=yes to install the package-provided Atffiles instead of generating
our custom ones.
2010-07-13 21:12:38 +00:00
jmmv
dad604ce0c Implement Atffile automatic generation.
This change adds the ATFFILE variable, which can take the following values:
- yes: The source directory contains a static Atffile to be installed.
- auto: The Atffile is automatically generated.
- no: Do not install any Atffile (replaces the previous NOATFFILE variable).

The ugly bit of this is that I have to add a TESTS_SUBDIRS variable that
lists the subdirectories that contain test cases (so that they can be listed
in the Atffiles, without including auxiliary directories without tests).
This is a subset of SUBDIR.

Addresses a minor part of PR bin/43394.
2010-07-13 21:11:41 +00:00
pooka
d066e8927d tp 2010-07-13 18:13:57 +00:00
pooka
2a5fd96f77 Add a few simple basic-level tests for vnodeops. They don't cover
corner-cases, but make sure things at least superficially work
(which they always don't).  More to come...
2010-07-13 18:13:10 +00:00
pooka
60f4d3c583 Link in puffs components for puffs tests. 2010-07-13 18:09:52 +00:00
pooka
a6a5da1df4 support dotdot lookups 2010-07-13 18:08:58 +00:00
pooka
34de412690 off_t -> uint64_t to hopefully avoid some lp64 signedness whines. 2010-07-13 17:49:24 +00:00
pooka
63ef4b38f6 Run puffs/dtfs as part of the vfs tests. 2010-07-13 16:48:15 +00:00
njoly
fb13fa89fd Add testcase data argument to all fstest helper functions.
Needed by pooka for puffs fstest support.
2010-07-13 15:50:31 +00:00
pooka
c99c5d9840 Don't leak kernel stack into userspace. 2010-07-13 15:38:15 +00:00
kiyohara
9cccbb6195 Add Kirkwood/Discovery Innovation macros. 2010-07-13 14:00:07 +00:00
kiyohara
d84a22fd65 Regen. 2010-07-13 13:57:36 +00:00
kiyohara
71c3b45e3b Add Marvell MV78100/MV78200 SoC. (Discovery Innovation) 2010-07-13 13:54:15 +00:00
kiyohara
8406aeece8 Add SATA for Marvell SC/SoC. 2010-07-13 13:05:05 +00:00
kiyohara
3a80d8ba65 Fix wrong ifdef. 2010-07-13 12:57:22 +00:00
kiyohara
66dad59009 Move to pci/mvsata_pci.c (marvell/mvsata_mv.c) splitting mvsata_products[].
mvsata(4) uses these to match.
2010-07-13 12:53:42 +00:00
wiz
f6f8f19a87 zlib-1.2.5 out. 2010-07-13 11:56:43 +00:00
pooka
254ef734e0 +tp 2010-07-13 11:54:06 +00:00
pooka
e9ce0fb090 make compile on HEAD 2010-07-13 11:53:47 +00:00
pooka
6463b41236 Add basic tests for vfsops.
tfilehandle is a test for PR kern/43605
2010-07-13 11:51:59 +00:00
kiyohara
f99b65b3f2 Add UART and PCIe controller for Marvell SoC.
However not define attribute *_mbus in our tree yet.
2010-07-13 11:16:02 +00:00
pooka
5b92553888 Make the FSTYPE macros take tc instead of derivative type "type".
ok njoly
2010-07-13 11:12:19 +00:00
enami
5559382642 Make this compile again. 2010-07-13 01:42:21 +00:00
njoly
95f6e757bd Update filesystem helper functions namespace (from XXX_mount to
XXX_fstest_mount) to avoid conflicts with existing functions such as
puffs_mount.
2010-07-12 21:37:47 +00:00
njoly
e4723ab868 Pass down the test case data to the test function, to be able to use
meta-data informations such as srcdir. Requested by pooka.

While here remove fstype argument, and define it as a custom meta-data
(X-fs.type) instead.
2010-07-12 21:05:19 +00:00
pooka
70d05149f8 Implement poor man's (or woman's) fault handler (or handlim).
from Stan (or Loretta)
2010-07-12 21:00:47 +00:00
kiyohara
eb42ba5418 Fix build failed.
Add vga_drv and manuals.
2010-07-12 16:08:52 +00:00
pooka
84244a9f10 put stuff requiring -lpuffs behind -DPUFFSDUMP 2010-07-12 13:09:19 +00:00
njoly
328f6885dc Add CLOCK_MONOTONIC support for compat linux/linux32
clock_nanosleep(2).
2010-07-12 12:01:53 +00:00
rmind
25ce398524 sel_setevents: fix error - match event-set, as intended.
Spotted by Enami Tsugutomo.
2010-07-12 11:04:25 +00:00
kiyohara
c463da08f1 Support xserver for prep. It tested only on-board s3(864). 2010-07-12 08:00:51 +00:00
kiyohara
299d82b760 Support xserver for prep.
It tested only s3(864).
2010-07-12 07:54:11 +00:00
jakllsch
01c06fb42e Make sc_vendor in ohci_softc the same size as that in uhci_softc and ehci_softc.
This change prevents some truncated OHCI vendor names in some verbose cases:
uhub0 at usb0: ATI Technologie OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
...
uhub1 at usb1: ATI Technologies EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
2010-07-12 04:16:51 +00:00
pgoyette
bf9efd1436 Fix typo. 2010-07-12 03:39:05 +00:00
christos
94320bc4fd Convert sizes/lengths to unsigned (size_t) or uint32_t
(for binary compatibility).
2010-07-12 02:58:01 +00:00