Commit Graph

157104 Commits

Author SHA1 Message Date
martin
9f138b51a8 Add dkscan_bsdlabel 2007-03-01 23:55:43 +00:00
jmcneill
7f8a6c2923 Regen. 2007-03-01 22:15:08 +00:00
jmcneill
b792a5796f Add Conexant CX2388X Audio/Video Decoder 2007-03-01 22:14:48 +00:00
martin
c6eb40af11 Add a tool to scan disks for BSD disklabels (might be from different
archs) and add wedges for them. Similar to the kernel options
DKWEDGE_AUTODISCOVER and DKWEDGE_METHOD_BSDLABEL, and actually reusing
most of that code.

This means, for example, you can plug a sparc64 disk into an i386, run
this tool and mount the partitions (provided your kernel has the FFS_EI
option).
2007-03-01 22:01:29 +00:00
plunky
d7e75bcc12 rework the -c and -s options to make them a bit more consistent.
when EOF is reached, we are done.
2007-03-01 21:44:30 +00:00
christos
bd6c2075f1 Fix bug with multiple pending el_pushes. Reported by Julien Torres. 2007-03-01 21:41:45 +00:00
martin
2fdb6bb1bd Make this compilable from userland 2007-03-01 21:38:17 +00:00
martin
dd8b45ebc6 Split the disklabel checksum function into two, so we can pass the
length separately.
Use this for foreign-endianess labels in wedge autodiscovery, and
calculate the checksum of those before we swap various fields in the
label.
2007-03-01 21:30:50 +00:00
plunky
03d2abf209 remove duplicate line 2007-03-01 21:27:38 +00:00
apb
f21f1a9ef9 If we are called as 'sh MAKEDEV ...', then we would previously have
tried to do '. MAKEDEV.subr'.  That doesn't work, we need to do
'. ./MAKEDEV.subr' in that case.
2007-03-01 20:48:26 +00:00
wiz
abaa11daf6 Sort sections. 2007-03-01 19:35:47 +00:00
garbled
1d2057e71c update mtree for man4.prep 2007-03-01 18:47:49 +00:00
garbled
c5c77432ea Add man4.prep manpages 2007-03-01 18:43:47 +00:00
garbled
984afafeeb Add man4.prep subdir 2007-03-01 18:42:11 +00:00
garbled
1e9398fa6d First crack at an intro and nvram manpage for prep 2007-03-01 18:41:15 +00:00
wiz
662a6ce301 Remove SCRIPTDIR description, update SCRIPTS_ENV description. Bump date. 2007-03-01 18:38:34 +00:00
apb
c3bbc70fa0 When calculating the size of the MFS /dev file system, round file sizes
up to a multiple of 512.  (Not doing this before was wrong but probably
asymptomatic, because there was enough slack space to cope with the
error).
2007-03-01 18:25:58 +00:00
thorpej
ebd626809e TRUE -> true, FALSE -> false 2007-03-01 17:31:35 +00:00
garbled
793e6a8c0a Add eeprom to prep setlists 2007-03-01 16:51:35 +00:00
garbled
9cc2c6c46c Add support for the prep nvram device to eeprom. 2007-03-01 16:49:48 +00:00
yamt
436fe5c469 move ad-audiomp to a correct place. 2007-03-01 15:15:27 +00:00
yamt
9913eb572c update base tags 2007-03-01 15:13:15 +00:00
kiyohara
a7406f9d2d Reorder. 2007-03-01 14:58:54 +00:00
kiyohara
11c9c998db Add btuart(4). 2007-03-01 14:57:38 +00:00
ad
0bffc80584 Fix a couple of races with LWP park/unpark. 2007-03-01 14:55:06 +00:00
yamt
e0c62458a2 mention priority inheritance. 2007-03-01 14:29:40 +00:00
yamt
54c3330421 sync with the code. (pri_t) 2007-03-01 14:24:25 +00:00
yamt
71380e5a2f check_pa_acc: don't bother to use KAUTH_MACHDEP_UNMANAGEDMEM
if the address is known.
no functional changes, unless listeners do some kind of logging.
2007-03-01 11:49:26 +00:00
pooka
f7ed04a6ff simplify previous a bit. no functional change. 2007-03-01 10:02:31 +00:00
apb
911c20c486 Add MAKEDEV.subr to IMAGEDEPENDS. These miniroot images should probably
be converted to use common/Makefile.makedev.
2007-03-01 09:25:42 +00:00
apb
b3a537ff41 ${DESTDIR}/dev/MAKEDEV.subr -> ${MAKEDEVSUBR} 2007-03-01 09:22:28 +00:00
apb
40b4a926c7 Invent MAKEDEVSUBR and add it to IMAGEDEPENDS and PARSELISTENV if
appropriate.  Previously, IMAGEDEPENDS did not include MAKEDEV.subr.
2007-03-01 09:20:59 +00:00
apb
8c150ea895 Convert the guts of do_makedev() into a loop that checks both MAKEDEV
and MAKEDEV.subr.
2007-03-01 07:51:26 +00:00
apb
34b8a708b7 If MAKEDEV.subr is updated, remember to run MAKEDEV later. 2007-03-01 07:47:13 +00:00
apb
c654f7abce When creating /dev in a memory file system, include all three of
MAKEDEV, MAKEDEV.subr and MAKEDEV.local in the set of files that are
copied if they exist.

Now booting an INSTALL kernel with an embedded ramdisk correctly creates
/dev again, fixing a problem introduced when MAKEDEV.subr was created a
few days ago.
2007-03-01 07:18:07 +00:00
apb
5d188139b4 Treate MAKEDEV.subr just as we treat MAKEDEV when creating ramdisk
images or miniroot images.
2007-03-01 07:11:04 +00:00
macallan
3ad3cc3b6b mention that eeprom can now actually change firmware settings on arm and
powerpc
2007-03-01 03:49:10 +00:00
mrg
81d87b60e3 insert .WAIT between libcom_err and libasn1. 2007-03-01 02:54:51 +00:00
mrg
e274239983 regenerate everything with fixed c++ math bits. 2007-03-01 01:57:15 +00:00
dogcow
53d226486b An incredibly grody hack to save a few more precious bytes: in dhclient,
don't include the unknown-{nn,mm} strings ifdef SMALL.
2007-03-01 01:02:33 +00:00
bjh21
ed1dd83c02 Honour ATOMIC_SET_BIT_NONINLINE_REQUIRED, now that it can be unset on
acorn26.
2007-02-28 23:47:09 +00:00
bjh21
81b7c41b62 PROG26 version of __with_interrupts_disabled(), and hence of the various
functions in this file.
2007-02-28 23:46:17 +00:00
bjh21
d6e0a9e5aa KNF
(waiting for a test kernel to compile...)
2007-02-28 23:26:10 +00:00
agc
bffaa1dff1 Minor cosmetic changes to clean up some lint. 2007-02-28 21:48:46 +00:00
apb
9768ef777c Use ${DESTDIR}/dev/MAKEDEV instead of .../etc/etc.${MACHINE}/MAKEDEV.
I assume this has been broken for years.
2007-02-28 20:40:26 +00:00
pooka
428270cc03 avoid lock leak in error branch of sys_fchdir()
thanks to Tom Spindler and Greg Oster in helping find the cure
2007-02-28 20:39:06 +00:00
macallan
57fb2c65f9 enable ioctl(OFIOCSET) so eeprom can actually change PROM settings on
OpenFirmware machines
2007-02-28 20:33:50 +00:00
macallan
12dd6f9c02 add OF_setprop() 2007-02-28 20:30:57 +00:00
apb
2b64520a8c Avoid using dirname(1), which is not available in installation
ramdisk images.
2007-02-28 19:45:37 +00:00
tsutsui
a111aec3cd Apply patches which may fix RX stall problem on nfe(4):
- make DMA descriptors volatile to avoid possible unintended reordering
  which might cause some race conditions
- process interrupts until all NFE_IRQ_WANTED bits are handled

and also put misc fixes:
- return 1 and call nfe_start() in nfe_intr() only if any own interrupts
  are actually handled
- use bus_dmamap_load_mbuf(9) for RX mbufs rather than bus_dmamap_load(9)
  with mtod(9) and MCLBYTES
- check sc->txq.queued to see if TX descriptors are queued or handled
  in nfe_start() and nfe_txeof()
- use proper BUS_DMASYNC_{PRE,POST} ops
- prepare and use NFE_[RT]X_NEXTDESC() macro
- rename NFE_TX_TCP_CSUM to NFE_TX_TCP_UDP_CSUM since it also enables
  hardware udp4csum-tx for UDP4 packets
- some minor optimization
- misc KNF

Tested and confirmed by matthew green by
"to send >25MB/sec to nfe0 for over one hour,"
and also tested by me (with light TRX load on 100baseTX though)
for a month.
2007-02-28 17:40:11 +00:00