aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-0342-160/+130
| | | | Notes: svn path=/head/; revision=114589
* Fix locking on reinit.Søren Schmidt2003-05-031-4/+16
| | | | Notes: svn path=/head/; revision=114588
* Add the pdc20268r as candidate for the TX test.Søren Schmidt2003-05-031-1/+1
| | | | Notes: svn path=/head/; revision=114587
* Use C99 for the kernel.David E. O'Brien2003-05-031-1/+1
| | | | Notes: svn path=/head/; revision=114586
* This commit was generated by cvs2svn to compensate for changes in r114584,Warner Losh2003-05-031-1/+1
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=114585
| * Fix halt -p. I've done this with an import because kochi-san reportsWarner Losh2003-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this is fixed in a newer version of ACPICA and I don't want to take this off the vendor branch for a trivial reason. This patch was applied to NetBSD by kochi-san, who also posted the patch to acpi-jp@jp.freebsd.org. # My Dell Inspiron 8000 now powers off! Submitted by: takayoshi kochi-san kochi at netbsd dot org Notes: svn path=/vendor-sys/acpica/dist/; revision=114584
* | Fix a bazillion warnings. This makes almost the whole of src/bin/*Mark Murray2003-05-0317-148/+161
| | | | | | | | | | | | | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha Notes: svn path=/head/; revision=114583
* | WARNS cleaning for the Alpha. On alpha, size_t is a long, and itMark Murray2003-05-031-13/+17
| | | | | | | | | | | | | | | | solicits a warning when used for the '*' in printf("%*d"). Cast to u_int for universal use. Notes: svn path=/head/; revision=114582
* | Duplicate "from".Giorgos Keramidas2003-05-031-1/+1
| | | | | | | | | | | | | | | | PR: docs/51724 Submitted by: Christopher Nehren <apeiron@comcast.net Notes: svn path=/head/; revision=114581
* | Remove some games/ cruft that is no longer of relevance.Mark Murray2003-05-032-8/+0
| | | | | | | | Notes: svn path=/head/; revision=114580
* | Fix a shedload of warnings, some memory leaks and clean up WARNSMark Murray2003-05-031-39/+61
| | | | | | | | | | | | | | and lint. This is now WARNS=9, std=c99 clean on i386. Notes: svn path=/head/; revision=114579
* | Regen.Shunsuke Akiyama2003-05-032-2/+25
| | | | | | | | Notes: svn path=/head/; revision=114578
* | Add RealTek RTL8150 USB to fast Ethernet controller driver.Shunsuke Akiyama2003-05-0314-2/+2213
| | | | | | | | | | | | | | | | | | | | | | This driver now supports the Melco LUA-KTX and the GREEN HOUSE GH-USB100B. Reviewed by: imp MFC after: 2 weeks Notes: svn path=/head/; revision=114577
* | Fix format warning. This is WARNS=9, std=c99 clean on i386.Mark Murray2003-05-031-1/+1
| | | | | | | | Notes: svn path=/head/; revision=114576
* | Fix warnings. This is now WARNS=9, std=c99 clean in i386.Mark Murray2003-05-031-9/+10
| | | | | | | | | | | | | | | | Use return(0) for main() instead of exit(0). Makes it a wee bit smaller. Notes: svn path=/head/; revision=114575
* | More axe-work:Poul-Henning Kamp2003-05-032-683/+192
| | | | | | | | | | | | | | | | | | | | | | | | Hide all the historical fields of the label, unless people ask for them with -A, set them to intelligently chosen defaults otherwise. Distill the manual page to remove inaccuracies, misundertandings and obsolete information. It can probably still be done better but now at least it is not misinforming people. Notes: svn path=/head/; revision=114574
* | Slightly tweak the rc update text, since things changed slightly afterDoug Barton2003-05-032-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | I sent the first draft to Bruce. Remove rc.sendmail from the list, since it was a mistake on my part to remove it from the base, which I've now corrected. Add the rc.${MACHINE_ARCH} for arch's besides i386. While I'm here, do a completely trivial re-capitalization of rcNG. :) Thanks to Bruce for cleaning up my humble first draft. Notes: svn path=/head/; revision=114573
* | Added OpenBSD 3.3Wolfram Schneider2003-05-031-1/+2
| | | | | | | | | | | | | | Submitted by: itojun@iijlab.net Notes: svn path=/head/; revision=114572
* | Some minor remodelling with a large axe.Poul-Henning Kamp2003-05-031-279/+171
| | | | | | | | Notes: svn path=/head/; revision=114571
* | - Revert kern/vfs_subr.c revision 1.444. The vm_object's size isn'tAlan Cox2003-05-032-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | trustworthy for vnode-backed objects. - Restore the old behavior of vm_object_page_remove() when the end of the given range is zero. Add a comment to vm_object_page_remove() regarding this behavior. Reported by: iedowse Notes: svn path=/head/; revision=114570
* | Use new geom.ctl based OAM instead of ioctls.Poul-Henning Kamp2003-05-032-95/+100
| | | | | | | | | | | | | | Various cleanup. Notes: svn path=/head/; revision=114569
* | Add a OAM interface for changing the label and writing the boot code.Poul-Henning Kamp2003-05-031-26/+126
| | | | | | | | Notes: svn path=/head/; revision=114568
* | - Fix breakage on PAE enabled kernelPrafulla Deuskar2003-05-032-8/+10
| | | | | | | | | | | | | | | | | | - Don't use vtophys when you can get physical address using bus_dma API Submitted by: jake (Jake Burkholder) Notes: svn path=/head/; revision=114567
* | remove unused variables.Poul-Henning Kamp2003-05-031-2/+0
| | | | | | | | | | | | | | Spotted by: dougb Notes: svn path=/head/; revision=114566
* | Preserve directory structure in PRESERVED_FILES_DIR to avoidDoug Barton2003-05-031-2/+2
| | | | | | | | | | | | | | | | | | filename collisions. Submitted by: des Notes: svn path=/head/; revision=114565
* | Move a declaration to its proper place.Alan Cox2003-05-032-1/+1
| | | | | | | | Notes: svn path=/head/; revision=114564
* | Spell cpu_switch correctly.Peter Wemm2003-05-031-1/+1
| | | | | | | | Notes: svn path=/head/; revision=114563
* | Force PnP devices to set SMIT mode.Yoshihiro Takahashi2003-05-031-0/+9
| | | | | | | | | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=114562
* | Fix off-by-one bug.Yoshihiro Takahashi2003-05-031-3/+3
| | | | | | | | | | | | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) Notes: svn path=/head/; revision=114561
* | Repocopy *.s to *.SPeter Wemm2003-05-0310-1621/+3
| | | | | | | | Notes: svn path=/head/; revision=114560
* | Fix three problems in large (>2TB) device handling:Kenneth D. Merry2003-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make sure we don't release the READ CAPACITY CCB twice - If we have a device that needs a 16 byte READ CAPACITY command, make sure we call xpt_schedule() so we can get a CCB. - Don't unlock the peripheral until we're fully probed. Many thanks to Julian Elischer for providing hardware and testing this. Tested by: julian Notes: svn path=/head/; revision=114559
* | Rename amd64/*.s to amd64/*.SPeter Wemm2003-05-031-5/+5
| | | | | | | | Notes: svn path=/head/; revision=114558
* | bsd_disklabel_le_dec() takes an extra argument now.Poul-Henning Kamp2003-05-021-1/+2
| | | | | | | | Notes: svn path=/head/; revision=114557
* | Make bsd_disklabel_le_enc calculate the checksum and fill it in.Poul-Henning Kamp2003-05-023-269/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (If there is a legitimate need to correctly encode and pack a disklabel with an invalid checksum custom tools can be built for that.) Make bsd_disklabel_le_dec() validate the magics, number of partitions (against a new parameter) and the checksum. Vastly simplify the logic of the GEOM::BSD class implementation: Let g_bsd_modify() always take a byte-stream label. This simplifies all users, except the ioctl's which now have to convert to a byte-stream first. Their loss. g_bsd_modify() is called with topology held now, and it returns with it held. Always update the md5sum in g_bsd_modify(), otherwise the check is no use after the first modification of the label. Make the MD5 over the bytestream version of the label. Move the rawoffset hack to g_bsd_modify() and remove all the inram/ondisk conversions. Don't configure hotspots in g_bsd_modify(), do it in taste instead, we do not support moving the label to a different location on the fly anyway. This passes all current regression tests. Notes: svn path=/head/; revision=114556
* | Hook rc.sendmail back up, it was removed prematurelyDoug Barton2003-05-021-1/+1
| | | | | | | | Notes: svn path=/head/; revision=114555
* | - Bus DMA'fy the driverPrafulla Deuskar2003-05-022-237/+459
| | | | | | | | | | | | | | | | | | - Use htole* macros where appropriate so that the driver could work on non-x86 architectures - Use m_getcl() instead of MGETHDR/MCLGET macros Submitted by: sam (Sam Leffler) Notes: svn path=/head/; revision=114554
* | Option KADB does not exist. It came from alpha, where it still exists.Marcel Moolenaar2003-05-021-3/+0
| | | | | | | | Notes: svn path=/head/; revision=114553
* | Vastly simplify architecture handling: Use properties of label asPoul-Henning Kamp2003-05-021-124/+19
| | | | | | | | | | | | | | | | | | | | | | recorded in global variables, rather than checks on the architecture. Drop horribly code to handle MBR/PC98's embedded in the BSD label area. If you need to have an MBR or PC98 on your disk, you should not overlap it with a BSDLABEL, if you don't need it, this code is nothing but trouble. Notes: svn path=/head/; revision=114552
* | Default the location to the compiled for architecture if no -m arg specified.Poul-Henning Kamp2003-05-021-3/+9
| | | | | | | | Notes: svn path=/head/; revision=114551
* | Add three global variables which contain the location, size and a flagPoul-Henning Kamp2003-05-021-37/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the alpha checksum, and set them depending on the specified architecture Don't look for disklabels every 16 bytes, look the only place they should be for the current architecture. Always read the label from the raw disk and decode it into struct disklabel rather than trust a cast from random addresses. When writing to the raw disk, encode the label properly. Notes: svn path=/head/; revision=114550
* | Pull in geom_bsd_enc.c from sys/geom to encode and decode our labels.Poul-Henning Kamp2003-05-021-1/+3
| | | | | | | | Notes: svn path=/head/; revision=114549
* | Pull in bcopy() prototype from <string.h> when compiled in userland.Poul-Henning Kamp2003-05-021-0/+2
| | | | | | | | Notes: svn path=/head/; revision=114548
* | Add untested support for the Broadcom 5704.Paul Saab2003-05-024-0/+17
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=114547
* | Lock access to the vm_object's flags in vop_stdcreatevobject().Alan Cox2003-05-021-1/+4
| | | | | | | | Notes: svn path=/head/; revision=114546
* | Remove the well-intentioned, but ill thought out check which prevents usPoul-Henning Kamp2003-05-021-7/+0
| | | | | | | | | | | | | | | | from dd(1)'ing the boot code off one drive and have bsdlabel write it on another. Notes: svn path=/head/; revision=114545
* | Update the test-script based on the sunlabel version, but put a for-loopPoul-Henning Kamp2003-05-021-91/+151
| | | | | | | | | | | | | | in there to run over the various architectures. Notes: svn path=/head/; revision=114544
* | Considering that I did cast the arguments to (intmax_t) I must havePoul-Henning Kamp2003-05-021-4/+4
| | | | | | | | | | | | | | been sleepy since I used %qd instead of %jd. Notes: svn path=/head/; revision=114543
* | pc98 has it's own release subdir, so it's safe to remove the stg, ncv, andScott Long2003-05-022-0/+6
| | | | | | | | | | | | | | | | | | nsp drivers from the i386 floppies. Suggested by: bmah Notes: svn path=/head/; revision=114542
* | sysctlbyname takes a size_t as its 5th argument, not a pointer.Warner Losh2003-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | However, since NULL was used, and this is C++, this error went undetected until g++ 3.3 somehow managed to whine about it. Reported by: obrien Notes: svn path=/head/; revision=114541
* | Fix printf format errors.Jake Burkholder2003-05-021-2/+2
| | | | | | | | Notes: svn path=/head/; revision=114540