summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix build w/ EHCI_DEBUGsam2008-12-201-1/+1
|
* Merge support for Gateworks Cambria boards:sam2008-12-2038-2012/+3484
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o add support for IXP435 cpu's (e.g. 64 irq's) o add support for Cambria-specific devices: npe, led's (front panel and octal latch), ehci, mcu, ide cf o redo memory mapping for xscale/ixp4xx boards: previously memory was assumed aliased to 0x10000000 but this appears to be true only for ixp425 systems and breaks operation on others; rework so memory is assumed to start at 0 o rework NPE configuration support to use NPE id's instead of port #'s; these changes also rename the associated MAC's to follow the NPE's they are attached to o update npe firmware to latest rev (same license) and update default fw imageid's to match; in particular this adds NPE-A and crypto support o re-style NPE fw handling code and add a console msg identifying the attributes of the loaded fw o fix numerous problems with handling failures during npe setup o fix npe rx q setup; need to spin waiting for mailbox responses during early boot stages as qmgr interrupts are not delivered; this fixes the problem where all 8 traffic classifications were not tied to the rx q (and eliminates the console msg "remember to fix rx q setup") o add DELAY to npe MII wait logic for IXP435 o strip down builtin phys->virt address translation table in resource handling to just those resources that require it and add a console msg to alert people when this (kludge) table needs to be extended o purge a bunch of dead netbsd-ism's o cleanup avila led driver o add Cambria support to boot2 and rework code for better multi-board support Notes: 1. NPE-A doesn't work and causes NPE-C to stop working; it is disabled in the hints 2. USB isn't working yet; controller communicates ok but device discovery fails 3. Cambria support must be configured separately from IXP425 boards; multi-board support is TBD Sponsored by: Hobnob, Gateworks (board donation) Reviewed by: imp
* \ Merge usb changes for Gateworks Cambria boards:sam2008-12-208-374/+506
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | o add support to byte swap EHCI descriptor contents; the IXP435 has dual-EHCI controllers integral but descriptor contents are in big-endian format; this support is configured with the USB_EHCI_BIG_ENDIAN_DESC option and enabled with EHCI_SCFLG_BIGEDESC o clean up EHCI USBMODE register setup during init; add #defines for bit values o split debug support out into a new file and enable use through ddb o while here remove a bunch of lingering netbsd-isms Reviewed by: imp
| * MFH @ 186335sam2008-12-20412-6245/+15255
| |\ | |/ |/|
* | Modularize the Open Firmware client interface to allow run-time switchingnwhitehorn2008-12-2028-677/+1526
| | | | | | | | | | | | | | | | | | | | | | | | of OFW access semantics, in order to allow future support for real-mode OF access and flattened device frees. OF client interface modules are implemented using KOBJ, in a similar way to the PPC PMAP modules. Because we need Open Firmware to be available before mutexes can be used on sparc64, changes are also included to allow KOBJ to be used very early in the boot process by only using the mutex once we know it has been initialized. Reviewed by: marius, grehan
* | Fix a typo.yongari2008-12-201-1/+1
| | | | | | | | Submitted by: clemens fischer via Shigeaki Tagashira
* | correct wordingsam2008-12-191-2/+2
| |
* | add makefs to the base system; FreeBSD_version bumped just in casesam2008-12-193-1/+7
| | | | | | | | Reviewed by: imp
* | Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (nodelphij2008-12-193-20/+66
| | | | | | | | | | tcp options) to '--no-tcpopt' in order to resolve a comflicit with OpenBSD's -O semantics.
* | fix pathnames to work w/ buildworldsam2008-12-191-4/+4
| |
* | fix 64-bit buildsam2008-12-191-1/+1
| |
* | burncd(8) doesn't handle signals and interrupting burncd during operation.obrien2008-12-192-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, ^C (SIGINT) may leave the drive spinning and locked. This may also happen if you try to write a too-large image to a disc and burncd(8) exits with an I/O error. Add signal handling by doing a CDRIOCFLUSH ioctl to attempt to leave burner in a sane state when burning is interrupted with SIGHUP, SIGINT, SIGTERM, or in case an I/O error occurs during write. Note, that blanking will still continue after interrupt but it seems to finish correctly even after burncd(8) has quit. Also, while I'm here bump WARNS to "6". PR: 48730 Submitted by: Jaakko Heinonen <jh@saunalahti.fi>
* | import netbsd makefs toolsam2008-12-1922-0/+7262
|\ \
| * | add properties and FreeBSD id'ssam2008-12-1921-47/+25
| | |
| * | turn warnx into a debug msgsam2008-12-181-3/+7
| | |
| * | enable support for st_flags and st_gensam2008-12-181-0/+2
| | |
| * | another nbtool turdsam2008-12-181-2/+0
| | |
| * | fix stuff i brokesam2008-12-181-3/+6
| | |
| * | If the filesystem size rounded up to a multiple of the block sizesam2008-12-181-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | is larger than what a user specified then round down to get something that works but wastes a little space. This happens reliably for me when building filesystems for CF parts >1G; not sure why noone else is complaining.
| * | unbreak cg_chkmagic_swapsam2008-12-181-1/+1
| | |
| * | Apply the big hammer:sam2008-12-1826-2095/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o remove all of compat except for pwcache and strstuftoll; these might end up in libutil or similar so keep them in the subdir o mv getid.c up to the top level; this looks like something that'll be makefs-specific o eliminate private versions of .h files in sys; use system files instead o eliminate private ffs_tables.c; use the system version directly (might want to adopt const'ification at some point but that's the only diff I can see) o mv remaining code from sys to ffs and strip out unused bits; this now becomes part of makefs o add compat defs and shims to makefs.h o strip all vestiges of nbtool_config.h, compat_defs.h, etc. o fixup includes after file shuffling o rename system #defines that do implicit byte swapping to have an _swap suffix; e.g. DIRSIZ -> DIRSIZ_SWAP, cg_inosused -> cg_inosused_swap; if we ever add endian-agnostic support to the kernel these can go back to their original names o strip some netbsd'isms that aren't worth shim'ing (e.g. _DIAGASSERT) Code compiles w/o complaints but is untested.
| * | gonesam2008-12-174-1099/+0
| | |
| * | fparseln is in libutilsam2008-12-171-248/+0
| | |
| * | getmode+setmode are in libc, removesam2008-12-171-63/+0
| | |
| * | First step toward proper mtree integration:sam2008-12-177-595/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | o use mtree code directly from ../mtree; s/spec(fp)/mtree_readspec(fp)/ (assume this will eventually go in usr.sbin) o nuke st_rdev use; there's no reason to create filesystems with device nodes o shim missing compat bits for inotype and nodetoino o remove now unneeded compat/mtree bits, pack_dev.?, and stat_flags.? o temporarily move getid.c code up to compat to keep this building
| * | split stanzas in preparation for better integrationsam2008-12-171-11/+18
| | |
| * | This directory is now emptyimp2008-11-240-0/+0
| | |
| * | This isn't needed...imp2008-11-241-612/+0
| | |
| * | Remove the dump_node and vispath routines from compat/mtree/spec.c.imp2008-11-244-474/+3
| | | | | | | | | | | | | | | They aren't needed, and were the only users of the compat/vis.[ch] files. As such, remove them from the Makefile.
| * | prepare makefs for import to basesam2008-11-2345-0/+12200
| /
* | add FreeBSD propertysam2008-12-190-0/+0
| |
* | Correct 5212 ani support so that max noise immunity, spur immunity, andsam2008-12-191-10/+10
| | | | | | | | | | | | | | step levels are used. Noticed by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net> Reviewed by: rpaulo
* | Constify 'name' field in struct funix. This commit makes syslogd(8)delphij2008-12-191-1/+1
| | | | | | | | | | WARNS?=6 on amd64 but I have not tested under universe so keep WARNS?= level as-is for now.
* | Fix a typo.wxs2008-12-191-1/+1
| | | | | | | | Approved by: rwatson
* | Further beautify the lock strings to be more pleasing to the eye andivoras2008-12-191-4/+4
| | | | | | | | | | | | | | self documenting within 6 characters. Reviewed by: ed (older version) Approved by: gnn (older version)
* | Fix cam_sim_free() wakeup condition and add mtx_asserts.trasz2008-12-191-1/+3
| | | | | | | | | | | | | | Submitted by: Christoph Mallon Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* | Periph driver fixes, second try.trasz2008-12-194-5/+20
| | | | | | | | | | | | Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* | Move mtx_assert lower, when we can be sure that the pointertrasz2008-12-191-2/+1
| | | | | | | | | | | | | | | | to the mutex is valid. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* | The proxy-arp code was broken and responds to ARPqingli2008-12-191-57/+52
| | | | | | | | requests for addresses that are not proxied locally.
* | Update elf_common.h with new EM_ types found in the latest ELF gABI.kaiw2008-12-191-2/+58
| | | | | | | | | | | | | | | | | | | | This commit is slightly different from the original patch in the PR: 1. EM_ALPHA keeps the old value for compatibility reason. 2. Non-standard SHT_NUM is not added. 3. Style. PR: kern/118540 Submitted by: "Pedro F. Giffuni" <giffunip[at]tutopia.com>
* | Do not segfault when procstat -f or procstat -v is called on a process notmarcus2008-12-192-0/+4
| | | | | | | | | | | | | | | | owned by the current user. If kinfo_getfile() or kinfo_getvmmap() return NULL, simply exit, and do not try and derefernce the memory. Reviewed by: peter Approved by: peter
* | Initialize the cntp pointer to 0 prior to doing any work so that callersmarcus2008-12-192-8/+10
| | | | | | | | | | | | | | | | don't try to iterate through garbage or NULL memory. Additionally, return NULL instead of 0 on error. Reviewed by: peter Approved by: peter
* | The ppp application relies on the if_tun interface to properlyqingli2008-12-191-1/+3
| | | | | | | | | | | | | | install a p2p host route between the end points. The ppp module upates this router based on user configuration later on. The rt_Update() seems to always set the RTF_GATEWAY flag, which is broken.
* | convert MALLOC/FREE to malloc/freesam2008-12-1814-51/+51
| |
* | Add ULI M5461 chipset and vendor ID.mav2008-12-181-1/+8
| |
* | Garbage collect entries from pcireg.h since we now include it.rnoland2008-12-181-9/+0
| | | | | | | | | | Approved by: kib@ MFC after: 2 weeks
* | We only want drm to ever attach to the primary pci device.rnoland2008-12-182-0/+5
| | | | | | | | | | | | | | | | | | | | Intel 855 chips present the same pci id for both heads. This prevents us from attaching to the dummy second head. All other chips that I am aware of either only present a single pci id, or different ids for each head so that we only match on the correct head. Approved by: kib@ MFC after: 2 weeks
* | Update the ipfw man page to reflect last change (-q option with nat option).piso2008-12-181-0/+2
| | | | | | | | MFC after: 3 days
* | Honor the quiet (-q) option while adding a nat rule.piso2008-12-181-4/+6
| | | | | | | | | | Submitted by: Andrey V. Elsukov<bu7cher@yandex.ru> MFC after: 3 days
* | Before modularization commit, atapci driver was attaching only to devices ofmav2008-12-182-2/+6
| | | | | | | | | | | | | | | | | | storage class. This check was lost. It is not important for the most cases, but as it was reported on current@, it does important for sis driver and surely inportant for AHCI driver. So restore it there. Submitted by: Toshikazu ICHINOSEKI, Andrey V. Elsukov Discussed on: current@
OpenPOWER on IntegriCloud