Commit Graph

143264 Commits

Author SHA1 Message Date
reinoud c2f693f4f5 Initial import of a UDF file system implementation for NetBSD.
Add UDF file system mounter.
2006-02-02 15:21:29 +00:00
reinoud cff5e7ad2c Initial import of a UDF file system implementation for NetBSD.
The code supports read access to all media types that CD/DVD type drives
can recognize including DVD-RAM and BD- drives as well as harddisc partions
and vnd devices. UDF versions upto the latest 2.60 are to be supported
though due to lack of test media version 2.50 and 2.60 are not implemented
yet though easy to add. Both open and closed media are supported.

Write access is planned and in preparation. To facilitate this some hooks
are present in the code that are not strictly needed in a read-only
implementation but which allow writing to be added more easily.

Implemented and tested media types are CD-ROM, CD-R, CD-RW, CD-MRW,
DVD-ROM, DVD*R, DVD*RW, DVD+MRW but the same code can also read DVD-RAM,
HD-DVD and BluRay discs. Also vnd devices have been tested with several
sector sizes.

Discs created and written by UDFclient, Nero's InCD and Roxio's
DirectCD/Drag2Disc read fine.
2006-02-02 15:19:15 +00:00
reinoud 1b09e70fcd Adding two Ioctl's to scsipi's cd.c to abstract SCSI MMC devices. The
ioctl's and their structures are currenly hidden from inclusion for normal
userland applications to allow the MMC abstraction interface to mature
first.

Its useage is mainly for applications dedicated to handling and processing
SCSI MMC compliant devices and their media. Examples of these are CDs, DVDs
and comparable optical devices but also some magnetic swapable devices that
present themselves as a SCSI MMC compliant device.

Its current use is currently the to be committed in-kernel UDF filingsystem
and its userland tools.
2006-02-02 14:48:02 +00:00
skrll 76a44d106e Add byte_swap.h. HI DSL! 2006-02-02 08:17:35 +00:00
cube 69a545f3ff Fix typo. 2006-02-02 06:57:35 +00:00
cube da9c97d43c Move the code that destroys the device to vndclose. That way it no longer
returns ENXIO when deconfiguring a vnd.
2006-02-02 06:56:30 +00:00
skrll c36e4cf586 Fix the multiple inclusion protection. hi dsl. 2006-02-02 06:39:05 +00:00
riz 854279801b If TCP_SIGNATURE is defined, include netinet6/scope6_var.h for the
prototype of in6_clearscope().  Kernels with options TCP_SIGNATURE now
compile again after the IPv6 scoped address changes.
2006-02-02 05:52:23 +00:00
enami 18e10ad389 Replace a period, which is left unchanged when sentense is added in
rev. 1.7, to comma.
2006-02-02 05:13:57 +00:00
dbj c03e27f52f regen 2006-02-02 04:15:16 +00:00
dbj a3ecf0b346 touch an empty sys/bswap.h if detected as missing by configure
this fixes cross compile problems from recent changes to
convert machine/bswap.h to sys/bswap.h
2006-02-02 04:15:03 +00:00
christos 8e18deb784 regen 2006-02-02 01:40:19 +00:00
christos d3c467af65 PR/32695: Chuck Tuffli: incorrect PCI device id for CMD Technology (0x1095)
SiI3132 SATALink (0x3132)
2006-02-02 01:39:53 +00:00
christos 671d9ecff9 PR/32692: Matthew Mondor: linux compatibility in /proc/self should point
directly to the directory containing the pid instead of pointing to
/proc/curproc, because some programs rely on calling readlink on /proc/self
to get the pid.
2006-02-02 00:29:24 +00:00
yamt c128c375df yamt-uio_vmspace: new base 2006-02-02 00:14:15 +00:00
dyoung 9d2dd62a57 Stop duplicating the ISO9660 sources in sys/fs/cd9660/ for makefs(8). 2006-02-01 22:19:34 +00:00
dsl 37875b24f4 Need to install byte_swap.h and bswap.h needs to include sh3/byte_swap.h. 2006-02-01 20:56:18 +00:00
martin 60dcc21763 Add missing <sys/device.h> include. 2006-02-01 20:55:31 +00:00
martin cf67045dd0 Do not use %d for size_t! 2006-02-01 20:26:28 +00:00
martin 058c0e1d60 Do not assume the bootstrap CPU has UPA id 0 - on some machines it hasn't.
Explicitly route all interrupts to the current cpu for now, we'll revisit
this when SMP is working.
Problem spotted and analyzed by Stephan Meisinger, fix inspired by FreeBSD.
2006-02-01 20:21:38 +00:00
bouyer 86110231a4 Check the destination ethernet address when not in promiscous mode.
Fix problem where packets would be duplicated, possibly looping, when
a domU is doing IP routing.
Problem reported and fix tested by Mike M. Volokhov on port-xen

While there, add some __predict_false/true in conditionnals where
appropriate, remove a always-true test, and fix handling of
mbuf shortage.
2006-02-01 19:12:02 +00:00
christos 1edbda9a2e debug -> ftpd_debug
xstrdup -> ftpd_strdup
2006-02-01 14:20:12 +00:00
cube 97047d48dd Properly dispose of cfdata memory when unloading the tap(4) LKM. 2006-02-01 05:51:58 +00:00
cube 9f02c7bd62 Free cfdata memory. The tap LKM might be wrong in that area, to...
Pointed out by Greg Oster.
2006-02-01 05:05:22 +00:00
cube aa933732c0 Free the bufq. Pointed out by yamt@. 2006-02-01 04:30:10 +00:00
xtraeme 1ade9646e2 Remove references about the TLP_MATCH_* options. They are not necessary
nowadays.
2006-02-01 03:54:19 +00:00
cube 65e49232fa Note vnd(4) change: removal of compile-time limit. 2006-02-01 03:26:31 +00:00
cube d7843c9990 Remove references to the 'count' argument, as it is no longer needed (and
if present, simply ignored).
2006-02-01 03:22:14 +00:00
cube 6527a45571 Have vnd(4) devices automatically created when the user tries to
configure one.  That removes the compile-time constant that limits the
number of vnds.

Thanks xtraeme@ for testing.
2006-02-01 03:15:33 +00:00
rpaulo 7d871c2413 Describe rpaulo-netinet-merge-pcb. 2006-02-01 00:55:11 +00:00
martin 0975a4b449 Make sure error messages (received from the access concentrator) are
zero terminated.
2006-01-31 23:50:15 +00:00
martin 7161703c02 Note new sparc64 bootloader requirement. 2006-01-31 22:54:22 +00:00
rpaulo 219ca2b318 Replace the comment that came from if_loop.c many years ago by
something that matches reality.
2006-01-31 22:27:15 +00:00
nakayama 2f6d85f32d Fix the new ofwboot boot problem with kernels where .text segment is smaller
than 4MB.

Unless this fix, boot failed with the message as below.

| panic: pmap_kextract: Address 0x1400000 is not from kernel space.
| Data segment is too small?
2006-01-31 20:18:40 +00:00
christos 76fc0d5b65 rename debug to ftp_debug. grr libssh. 2006-01-31 20:05:35 +00:00
christos e22794108e Rename xfoo() to ftp_foo() to avoid collisions with libssh. Don't ask. 2006-01-31 20:01:23 +00:00
christos ef3fea8531 Solaris mkdir on an automounted component returns ENOSYS. Go figure.
Good choices whould have been EROFS, EEXIST, EACCES, EISDIR...
2006-01-31 19:25:20 +00:00
christos e99d96582e PR/32679: Yves-Emmanuel JUTARD: Add unneeded cast to function to pacify the
compiler.
2006-01-31 17:48:27 +00:00
christos 5883cf1e6d PR/32681: Yves-Emmanuel JUTARD: Fix and document -d [hostname [pub]] 2006-01-31 17:47:04 +00:00
christos 643cfdb62a PR/32680: Yves-Emmanuel JUTARD: Improve some error checking that causes
memory corruption on out of memory errors.
While I am here, remove some lint.
2006-01-31 17:36:56 +00:00
elad 6a22a76f5c fix tyop.
pr 32678 from yves emmanuel jutard.
2006-01-31 17:19:39 +00:00
christos f0551e03f4 PR/32676: Yves-Emmanuel JUTARD: faithprefix should only be defined with INET6 2006-01-31 17:15:20 +00:00
xtraeme 38f79c01fe The NVidia nForce430 IDE Controller supports Ultra-DMA Mode 6, enable it.
Patch from MASUDA Hideo via tech-kern.
2006-01-31 16:49:26 +00:00
xtraeme 15a891cdcb GENERIC: add ral(4) at uhub.
GENERIC_LAPTOP: add ral(4) at cardbus/pci/uhub.
XEN0: add ral(4) at pci/uhub.
2006-01-31 16:42:09 +00:00
xtraeme da63ffb9a6 Add ral(4) at pci/uhub and atu(4) at uhub. 2006-01-31 16:39:47 +00:00
xtraeme 1d4757bcd5 Add ral(4) at cardbus/pci/uhub and atu(4) at uhub. 2006-01-31 16:38:58 +00:00
is 99ff421490 Implement dealloc() - and implement alloc() in a way that it matches it. 2006-01-31 14:58:28 +00:00
yamt acb669a7cf handle "strange" filesystems like layered filesystems and tmpfs,
where pgo_get returns pages which don't belong to the uobj.
also fix an XXX in uvm_loananon and lock-unlock mismatch in uvm_loanuobj.

PR/28372, PR/32665 (Alan Barrett).
2006-01-31 14:11:25 +00:00
yamt 43ed84382c re-apply uvm_fault.c 1.104. fixes will follow. 2006-01-31 14:05:47 +00:00
yamt f03efb066e uvm_mremap: whitespace. 2006-01-31 14:03:53 +00:00