summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't use the symbol name to lookup the symbol value when we can usemarcel2002-04-259-86/+168
| | | | | | | | | | | | the symbol index defined by the relocation. The elf_lookup() support function is to be used by elf_reloc() when symbol lookups need to be done. The elf_lookup() function operates on the symbol index and will do a symbol name based lookup when such is required, otherwise it uses the symbol index directly. This solves the problem seen on ia64 where the symbol hash table does not contain local symbols and a symbol name based lookup would fail for those symbols. Don't pass the symbol name to elf_reloc(), as it isn't used any more.
* Handle numbers larger than QUAD_MAX for unsigned conversions correctly.tjr2002-04-251-50/+96
| | | | | | | | Exit with nonzero status if a conversion failed. Play nice if used as a shell builtin (currently disabled). Submitted by: bde (partially) Approved by: mike
* - Tweak wording of panic message to make more sense.arr2002-04-241-2/+2
|
* Update the test-case reference vectors to match the new XML format.phk2002-04-2415-1363/+865
| | | | Sponsored by: DARPA & NAI Labs.
* Improve the cross-references in the XML output.phk2002-04-241-12/+9
| | | | | Explained by: des Sponsored by: DARPA & NAI Labs.
* Add -DKERNELSIM so the test cases compile with the kernel simulation.phk2002-04-241-0/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Improve the output in case of inserts or deleted.phk2002-04-241-2/+12
| | | | Sponsored by: DARPA & NAI Labs.
* - Turn the atm_stackq_pool into a uma_zone (and change it's name toarr2002-04-241-9/+9
| | | | | | atm_stackq_zone). - Change the related atm_allocate() and atm_free() calls into uma_zalloc() and uma_zfree() calls.
* New release notes: expr(1) and EXPR_COMPAT, m4(4) OpenBSD import andbmah2002-04-242-0/+80
| | | | | -s, bin->base distribution renaming, cdboot used for i386 ISOs by default, XFree86 4.2.0 support in sysinstall.
* Prepare the .conf XML comparator for a more kosher XML format.phk2002-04-247-366/+1004
| | | | Sponsored by: DARPA & NAI Labs.
* When a compound section name is specified, search for pages that actuallyeric2002-04-241-44/+95
| | | | | | | match the requested section. Previously, the section would be trimmed and every entry matching the page name would be displayed. Sponsored by: Apple
* Correct timer management (deprecated) in nd6_timer.ume2002-04-241-2/+3
| | | | | Obtained from: KAME MFC after: 3 days
* Add another chip id for the new LAVA 4-port serial card.jhay2002-04-241-0/+10
| | | | | | PR: 37333 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 4 days
* Ignore the multifunction bit in the PCIR_HEADERTYPE.jhay2002-04-241-1/+1
| | | | | | PR: 37333 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 4 days
* - Remove atm_attributes_pool and the relating atm_allocate() and atm_free()arr2002-04-243-11/+15
| | | | | | | | calls associated with the pool and the objects allocated out from the pool. - Insert atm_attributes_zone which is a uma_zone that is used just as the atm_attributes_pool was (including the max objects value). Also, used the appropriate zalloc and zfree's where necesary.
* Don't call freeenv() on a modified pointer.mux2002-04-241-6/+7
| | | | | | Submitted by: Alexander Kabaev <ak03@gte.com> Reviewed by: phk Pointy hat to: mux
* Drop myself from an entry I was unexpectedly included in.rnordier2002-04-241-2/+1
|
* aic7xxx_freebsd.c -> aic7xxx_osm.cgibbs2002-04-241-1/+1
|
* Major update to the aic7xxx driver:gibbs2002-04-2415-2889/+858
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ahc_eisa.c: ahc_pci.c: Conform to new aic7xxx IRQ API. Adapt to aic7xxx_freebsd -> aic7xxx_osm changes. aic7770.c: Disable card generated interrupt early in our probe for "extra safety" Commonize some seeprom code with the PCI side of the driver. aic7xxx.c: Correctly initialize a few scratch ram locations during a sequencer restart. This avoids spurious sequencer ram parity errors in some configurations. Include the softc in ahc_update_residual calls. We need it for some diagnostics in this code path. Flag a data overrun on an auto-request sense failure as a CAM_AUTOSENSE_FAIL rather than a CAM_DATA_RUN_ERR. Force a renegotiation after noticing a parity error. This covers targets that lose our negotiation settings but don't bother to give us a unit attention condition. This can happen if a target fails during a reselection of us during a cable pull. Convert some code to using constants. Fix some typos. Correct target mode message loop handling. ahc_clear_msg_state was not clearing the "need to go to message out phase" bit once our loop was over. Simplify some abort handling code. Include tag information in target mode immediate notify events. When shutting down EISA controllers, don't EISA BIOS settings in the high portions of scratch ram. This fixes warm boot issues on some systems. Save a bit of space by only allocating the SCBs that we can use. Avoid some code paths in ahc_abort_scbs() if we are currently acting as a target. Correctly cleanup stranded SCBs in the card's SCB array. These are SCBs who's mapping has already been torn down by code that aborted the SCB by seeing it in another list first. Add a comment about some potential bus reset issues for target mode on Twin (EISA only) controllers. aic7xxx.h: Cleanup the hardware scb definitions a bit. Allocate a ful 256 byte scb mapping index. This simplifies the lookup code since the table covers all possible (and potentially bogus) values. Make AHC_DEBUG work again. aic7xxx.reg: Updates to hardware SCB definition. New definitions for target mode fixes. aic7xxx.seq: In target mode, initialize SAVED_LUN just after we receive the identify message. It may be required in the error recovery path when a normal cdb packet (includes lun) is not sent up to the host for processing. Respond to irregular messages during a selection in target mode. Defer looking for space for a cdb packet until we are about to enter command phase. We want to be able to handle irregular messages even if we would otherwise return QUEUE_FULL or BUSY. Add support for sending Ignore Wide Residue messages as a target. In the disable disconnect case in target mode, set our transfer rate correctly once data are availble. aic7xxx_93cx6.c: aic7xxx_93cx6.h: Add the ability to write and erase the seeprom. aic7xxx_inline.h: Correct Big Endian handling of large cdb sizes (> 12 bytes). Adaptec to changes in the calc_residual API. Correct a target mode bug where we always attempted to service the input queue even if no progress could be made due to lack of ATIOs. aic7xxx_osm.c: Adaptec to new IRQ mapping API. The new API allows the core to only enable our IRQ mapping once it is safe (sufficient initialization) to do so. Slap bootverbose protection around some diagnostics. Only attempt DT phases if we are wide. aic7xxx_osm.h: Enable big endian support. Adjust for IRQ API change. aic7xxx_pci.c: Be more careful about relying on subvendor 9005 information. We now only trust it for HBAs. This should allow the driver to attach to some MBs where the subvendor/device information does not follow the Adaptec spec. Only enable interrupts on the card once we are fully setup. Disable external SCB ram usage on the aic7895. I have not been able to make it 100% reliable. Adjust to seeprom routines being properly prefixed with "ahc". Fix a few bugs in the external SCB ram probing routine. We need to clear any parity errors we've triggered during the probe to avoid future, fatal, interrupts. If we detect an invalid cable combination, pretent there are no cable at all. This will enable all of the terminators which is probably the safest configuration we can "guess". MFC after: 4 days
* Constify _malloc_options.phk2002-04-243-4/+4
|
* Add macro functionality.gibbs2002-04-2410-208/+1248
| | | | | | Staticize and allow unique naming of data structures so that more than on sequencer program can be statically compiled into the kernel at a time.
* o Work around bugs in the powerof2 macro: It thinks that 0 is a power ofimp2002-04-243-36/+54
| | | | | | | | | | | | | | | | 2, but that's not the case. This fixes the case where there were slots in the PIR table that had no bits set, but we assumed they did and used strange results as a result. o Map invalid INTLINE registers to 255 in pci_cfgreg.c. This should allow us to remove the bogus checks in MI code for non-255 values. I put these changes out for review a while ago, but no one responded to them, so into current they go. This should help us work better on machines that don't route interrupts in the traditional way. MFC After: 4286 millifortnights
* Fix a PNPID in a commentimp2002-04-242-2/+2
| | | | Submitted by: David Xu
* PR: 33966hm2002-04-241-6/+6
| | | | | | Submitted by: Nicola Vitale <nivit@libero.it> Reviewed by: hm MFC after: 3 days
* GC bsd.docb.mk. It has never apparently been used.ru2002-04-242-49/+1
|
* Abuse bsd.obj.mk for defining default distribute target.ru2002-04-246-47/+10
|
* GC bsd.sgml.mk. Nothing in the src/ tree uses it, and two doc/ru2002-04-242-209/+1
| | | | | instances that still use it are unconnected from the build and have corresponding DocBook replacements.
* Build the catpages distribution in a more natural way.ru2002-04-242-8/+8
|
* Make specific provisions for the kernel simulator used in the regressionphk2002-04-241-1/+1
| | | | | | tests, other userland programs may need to include <geom/geom.h>. Sponsored by: DARPA & NAI Labs.
* The chrooted environment isn't nearly pristine, so resetru2002-04-241-0/+1
| | | | MAKEOBJDIRPREFIX to the canonical /usr/obj while there.
* Remove the -v option, it is now default behaviour.phk2002-04-242-17/+5
| | | | Sponsored by: DARPA & NAI Labs
* handle ECONNABORTED.ume2002-04-241-1/+3
| | | | | | Submitted by: morito@double-fault.net Obtained from: KAME MFC after: 3 days
* Add some fortunes and re-order the Feynman problem solving algorithm.tg2002-04-241-10/+32
| | | | | | Thanks to gsutter for the quotes. Reviewed by: jkh
* Continue the cleanup preparations for UFS2 (& GEOM):phk2002-04-243-168/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use only one filedescriptor. Open in R/O or R/W based in the '-N' option. Make the filedescriptor a global variable instead of passing it around as semi-global variable(s). Remove the undocumented ability to specify type without '-T' option. Replace fatal() with straight err(3)/errx(3). Save calls to strerror() where applicable. Loose the progname variable. Get the sense of the cpgflag test correct so we only issue warnings if people specify cpg and can't get that. It can be argued that this should be an error. Remove the check to see if the disk is mounted: Open for writing would fail if it were mounted. Attempt to get the sectorsize and mediasize with the generic disk ioctls, fall back to disklabel and /etc/disktab as we can. Notice that on-disk labels still take precedence over /etc/disktab, this is probably wrong, but not as wrong as the entire concept of /etc/disktab is. Sponsored by: DARPA & NAI Labs.
* The install.debug and reinstall.debug targets are needed solelyru2002-04-243-19/+24
| | | | | | | | | | to build kernel and kernel modules so stop supporting them in bsd.subdir.mk and reimplement them in kern.post.mk and kmod.mk as special versions of the install and reinstall targets, and only define them if DEBUG is also defined (when debug versions are really built). Prompted by: bde
* typo in connect(2) error handling.ume2002-04-241-2/+2
| | | | | | Submitted by: Yukiyo Akisada <Yukiyo.Akisada@jp.yokogawa.com> Obtained from: KAME MFC after: 3 days
* Free(9) should be Giant-free.tanimura2002-04-241-1/+1
| | | | Suggested by: jhb
* Split file system setup code out into a function called mount.jake2002-04-241-50/+109
| | | | Implement vsnprintf. Implement panic in terms of it.
* Prepare for a major update to the aac driver:scottl2002-04-245-259/+166
| | | | | | | | Update the aac driver with the new crashdump api. Protect sync fibs with a mutex. Align all DMA buffers on a PAGE_SIZE boundary. MFC after: 3 days
* Style changes to reduce diff to things I did in the FSF repo.obrien2002-04-241-37/+51
|
* Fix bug where we were loosing our platform-wide ASM_COMMENT_STARTobrien2002-04-241-0/+4
| | | | definition due to pollution in i386/unix.h.
* Add me to the MAINTAINERS for 3dfx card stuff.cokane2002-04-241-0/+1
|
* Add support for loading files other than /boot/loader. Useful if you'rejake2002-04-241-79/+234
| | | | | | loader is screwed and you want loader.old. Rewrite the scaled down printf so it actually works right, and add support for more formats.
* Remove sodropablereq - this function hasn't been used since thesilby2002-04-243-90/+0
| | | | | | syncache went in. MFC after: 3 days
* Add an exit function.jake2002-04-241-3/+21
|
* Add -Wno-unused.jake2002-04-241-1/+1
|
* memcpy, memset -> bcopy, bzero.jake2002-04-241-32/+28
|
* Clean up elf loading to not make assumptions about the ordering of sections.jake2002-04-241-37/+18
| | | | | Don't load the symbol table; this is only needed for loading kernels and we load the loader.
* Remove xfsread. Just call fsread directly.jake2002-04-241-16/+5
|
* Remove a bunch of unused variables, functions and macros. Allocate storagejake2002-04-241-174/+11
| | | | statically instead of using a faked up malloc.
OpenPOWER on IntegriCloud