summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use the correct speed in the delay for the transmission of a characterBruce Evans2003-09-261-1/+4
| | | | | | | | | | in the loopback test in the probe. The delay was too short for consoles at speeds lower than about 3200 bps. This shouldn't have caused many problems, since such low speeds are rare and the probe is forced to succeed for consoles. Notes: svn path=/head/; revision=120468
* Initialize the cn_name instead of the cn_devPoul-Henning Kamp2003-09-261-1/+2
| | | | Notes: svn path=/head/; revision=120467
* Initialize cn_name instead of cn_devPoul-Henning Kamp2003-09-262-2/+2
| | | | Notes: svn path=/head/; revision=120466
* Change fb_attach() and fb_detach() to take a integer unit number ratherPoul-Henning Kamp2003-09-266-90/+9
| | | | | | | | | than a dev_t. All of the dev_t's passed were bogusly created with makedev() Notes: svn path=/head/; revision=120465
* Set cn_name, not cn_devPoul-Henning Kamp2003-09-261-1/+1
| | | | Notes: svn path=/head/; revision=120464
* As far as we know, there is no reason to not expose /dev/crypto inPoul-Henning Kamp2003-09-261-0/+1
| | | | | | | | jails so code in there can take advantage of hardware assisted crypto. Notes: svn path=/head/; revision=120463
* Update the list of CDROM device names to try for booting with RB_CDROMPoul-Henning Kamp2003-09-261-3/+2
| | | | | | | flag set. Notes: svn path=/head/; revision=120462
* Eliminate bogus use of makedev(): rather than synthesize the dev_t, usePoul-Henning Kamp2003-09-261-2/+1
| | | | | | | our already cached copy. Notes: svn path=/head/; revision=120461
* DELAY must be a routine, not a macro definition.Peter Grehan2003-09-264-6/+4
| | | | Notes: svn path=/head/; revision=120460
* Initialize cn_name, ignore cn_dev.Poul-Henning Kamp2003-09-261-1/+1
| | | | Notes: svn path=/head/; revision=120459
* Adhere to the new console API:Poul-Henning Kamp2003-09-261-15/+21
| | | | | | | | | Initialize cn_name Use cn_unit for internal housekeeping. Forget about cn_dev. Notes: svn path=/head/; revision=120457
* Remove wrongly sized cnd_name field, we now store the name in thePoul-Henning Kamp2003-09-261-15/+21
| | | | | | | | | | | | | | consdev structure. If the consdev name is not set and we have a cn_dev, set the name from there. Try to issue a printf about this, even though it may not have a place to go. Modify the sysctl related code to pick up the name from the consdev instead. Notes: svn path=/head/; revision=120456
* Add a cn_unit and cn_name field to the consdev structure.Poul-Henning Kamp2003-09-261-0/+2
| | | | | | | | | | | | | Most of the actual use of the cn_dev field is merely to get the name, and most of the actual initializations are bogusly using makedev() because the probe/attach has not been completed. Instead we will migrate console drivers to fill in the name and if the driver needs it: the unit number, thereby avoiding the bogus calls to makedev(). Notes: svn path=/head/; revision=120455
* s/ia64/alpha/gMarcel Moolenaar2003-09-261-5/+4
| | | | Notes: svn path=/head/; revision=120454
* Consistently print attach messages.Nate Lawson2003-09-265-6/+6
| | | | Notes: svn path=/head/; revision=120453
* Revert the introduction of iobase in struct uart_bas. Both the SAB82532Marcel Moolenaar2003-09-2617-61/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and the Z8530 drivers used the I/O address as a quick and dirty way to determine which channel they operated on, but formalizing this by introducing iobase is not a solution. How for example would a driver know which channel it controls for a multi-channel UART that only has a single I/O range? Instead, add an explicit field, called chan, to struct uart_bas that holds the channel within a device, or 0 otherwise. The chan field is initialized both by the system device probing (i.e. a system console) or it is passed down to uart_bus_probe() by any of the bus front-ends. As such, it impacts all platforms and bus drivers and makes it a rather large commit. Remove the use of iobase in uart_cpu_eqres() for pc98. It is expected that platforms have the capability to compare tag and handle pairs for equality; as to determine whether two pairs access the same device or not. The use of iobase for pc98 makes it impossible to formalize this and turn it into a real newbus function later. This commit reverts uart_cpu_eqres() for pc98 to an unimplemented function. It has to be reimplemented using only the tag and handle fields in struct uart_bas. Rewrite the SAB82532 and Z8530 drivers to use the chan field in struct uart_bas. Remove the IS_CHANNEL_A and IS_CHANNEL_B macros. We don't need to abstract anything anymore. Discussed with: nyan Tested on: i386, ia64, sparc64 Notes: svn path=/head/; revision=120452
* Make the port number available to the sub-device with PUC_IVAR_PORT.Marcel Moolenaar2003-09-262-4/+10
| | | | Notes: svn path=/head/; revision=120451
* Sort debugging levels and update the man page to match reality. AlsoNate Lawson2003-09-262-35/+41
| | | | | | | update man page to reflect iasl(8) import. Notes: svn path=/head/; revision=120450
* MFi386Alan Cox2003-09-261-4/+4
| | | | | | | Allocate the page table directory page as "no object" pages. Notes: svn path=/head/; revision=120449
* Fix fabs(). This commit brought to you by the letter 'l'.Peter Wemm2003-09-261-1/+1
| | | | | | | | | | | | (fstp stores a mem32 value, fstpl stores a mem64 value) This fixes ghostscript for 'make release' on amd64. Ghostscript for some reason thinks it is a good idea to use -fno-builtin, which means it is vulnerable to bugs in libc that are normally hidden by the builtin gcc functions. Oops. Notes: svn path=/head/; revision=120448
* o add information about the debugging toolsSam Leffler2003-09-251-3/+29
| | | | | | | o give proper attribution to Atsushi Onoe Notes: svn path=/head/; revision=120447
* Fix MLINKS.Bruce M Simpson2003-09-251-3/+6
| | | | | | | | Noticed by: bde Pointy hat to: bms Notes: svn path=/head/; revision=120446
* aic79xx_pci.c:Scott Long2003-09-252-4/+8
| | | | | | | | | | | | | | | | | | | | | aic7xxx_pci.c: When performing our register test, be careful to avoid resetting the chip when pausing the controller. The test reads the HCNTRL register and then writes it back with the PAUSE bit explicitly set. If the last write to the controller before our probe is to reset it, the CHIPRST bit will still be set, so we must mask it off before the PAUSE operation. On some chip versions, we cannot access registers for a few 100us after a reset, so this inadvertant reset was causing PCI errors to occur on the read to check for paused status. Submitted by: gibbs Notes: svn path=/head/; revision=120445
* Clarify SRM bootability on Alpha for DAC960.Wilko Bulte2003-09-252-6/+10
| | | | Notes: svn path=/head/; revision=120443
* update to reflect new apiSam Leffler2003-09-251-79/+104
| | | | | | | | Submitted by: Max Laier <max@love2party.net> Obtained from: NetBSD (with changes) Notes: svn path=/head/; revision=120442
* Add manual page documentation for the machine-independent PMAP subsystem.Bruce M Simpson2003-09-2523-0/+1606
| | | | | | | | | | Include documentation of alc's new pmap_extract_and_hold() function. Reviewed by: hmp Approved by: jake (mentor) Notes: svn path=/head/; revision=120441
* note PFIL_HOOKS must be explicitly configured when using IPFILTERSam Leffler2003-09-251-0/+7
| | | | Notes: svn path=/head/; revision=120438
* indicate PFIL_HOOKS is now required by IPFILTER; it used to automagicallySam Leffler2003-09-251-2/+2
| | | | | | | be defined in net/pfil.h Notes: svn path=/head/; revision=120437
* pthread API should return error code in return value not in errno.David Xu2003-09-252-4/+4
| | | | | | | Reviewed by: deischen Notes: svn path=/head/; revision=120436
* add /*CONSTCOND*/ to reduce diffs against latest KAME.Hajimu UMEMOTO2003-09-254-14/+14
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=120435
* panic() doesn't need `\n'.Hajimu UMEMOTO2003-09-253-72/+72
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=120434
* Add -p option to dump phy registers.Hidetoshi Shimokawa2003-09-252-2/+96
| | | | Notes: svn path=/head/; revision=120432
* Phy register map.Hidetoshi Shimokawa2003-09-251-0/+168
| | | | Notes: svn path=/head/; revision=120431
* Add -s option to strip subdirectory from module path.Hidetoshi Shimokawa2003-09-252-6/+13
| | | | | | | | | e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko Reviewed by: grog Notes: svn path=/head/; revision=120430
* If syscall failed, restore old sigaction and return error to thread.David Xu2003-09-252-22/+38
| | | | Notes: svn path=/head/; revision=120429
* * scsi_cmds.cHidetoshi Shimokawa2003-09-252-4/+28
| | | | | | | | | | | | | - Fill in autosense data. - Add compatibility for RELENG_4. * scsi_target.c - Raw device support - Set correct value in c_descr->offset for CAM_DIR_NONE case. - Support for CTIO abort. Notes: svn path=/head/; revision=120428
* MFi386Alan Cox2003-09-251-14/+7
| | | | | | | | | Reimplement pmap_release() such that it uses the page table rather than the pte object to locate the page table directory pages. (Temporarily, retain an assertion on the emptiness of the pte object.) Notes: svn path=/head/; revision=120427
* Detach black hole device on AC_PATH_DEREGISTERED.Hidetoshi Shimokawa2003-09-251-19/+20
| | | | Notes: svn path=/head/; revision=120426
* - Eliminate the pte object.Alan Cox2003-09-253-28/+18
| | | | | | | | - Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate KVA space for the page directory page(s). Submitted by: tegge Notes: svn path=/head/; revision=120424
* Re-raise the default datasize and stacksize now that the 32 bit execPeter Wemm2003-09-251-2/+2
| | | | | | | support can clip it to sensible values. Notes: svn path=/head/; revision=120423
* Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bitPeter Wemm2003-09-2529-104/+123
| | | | | | | | | | | | | | | | | | | | | | | | systems where the data/stack/etc limits are too big for a 32 bit process. Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c. Supply an ia32_fixlimits function. Export the clip/default values to sysctl under the compat.ia32 heirarchy. Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max value rather than the sysctl tweakable variable. This allows mmap to place mappings at sensible locations when limits have been reduced. Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same method as mmap(0, ...) now does. Note that we cannot remove all references to the sysctl tweakable maxdsiz etc variables because /etc/login.conf specifies a datasize of 'unlimited'. And that causes exec etc to fail since it can no longer find space to mmap things. Notes: svn path=/head/; revision=120422
* CARDMEM is the offset of the address ON THE CARD (eg which page).Warner Losh2003-09-241-1/+1
| | | | | | | | | Instead, use EXCA_MEMREG_WIN_SHIFT which is the amount we shift the bus address by to write into upper memory (eg above 24MB). Use the latter in this case. Notes: svn path=/head/; revision=120421
* Fix a logic error in the check to see if arplookup() should free the route.Bruce M Simpson2003-09-241-2/+1
| | | | | | | | Noticed by: Mike Hogsett Reviewed by: ru Notes: svn path=/head/; revision=120418
* Update version string.Dag-Erling Smørgrav2003-09-245-5/+5
| | | | Notes: svn path=/head/; revision=120413
* Remove bogus calls to xfree().Dag-Erling Smørgrav2003-09-241-4/+0
| | | | Notes: svn path=/head/; revision=120411
* Enable DMA for ATAPI/CAM input/output operations.Thomas Quinot2003-09-241-3/+10
| | | | | | | Reviewed by: scottl Notes: svn path=/head/; revision=120410
* Update list of FTP sites.Ken Smith2003-09-242-248/+234
| | | | | | | Approved by: jhb Notes: svn path=/head/; revision=120407
* resp is a pointer to an array of structs, not an array of pointers to structs.Dag-Erling Smørgrav2003-09-241-9/+9
| | | | Notes: svn path=/head/; revision=120406
* Return the correct error value when a null query fails.Dag-Erling Smørgrav2003-09-241-1/+1
| | | | Notes: svn path=/head/; revision=120405
* Per TRB vote: restore the aquire_timer0 and associated goo. This willWarner Losh2003-09-243-4/+296
| | | | | | | | | | | be gone in FreeBSD 6, so put BURN_BRIDGES around it. The TRB also felt that if something better comes along sooner, it can be used to replace this code. Delayed by: BSDcon and subsequent disk crash. Notes: svn path=/head/; revision=120404