summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the check for invalid X_DSDT and X_FACS portions of the FADT.njl2004-01-041-16/+25
| | | | | Add fadt_revision for telling if the FADT has correct 64 bit addresses, separate from whether the XSDT has legal 64 bit addresses.
* MFp4:imp2004-01-042-5/+5
| | | | | | o O2Micro OZ711e1 is now recognized (note: I don't have one, and the current owner of the Dell laptop is reporting problems). o minor nits wrt copyright date.
* mergemaster -p (pre-world) doesn't populate /etc/rc.d, which led to adougb2004-01-041-5/+4
| | | | | | false positive for every file according to the new stale rc.d checker. Friendly reminder by: dhw
* Modify if_ndis.c so that the MiniportISR function runs in ndis_intr()wpaul2004-01-044-6/+41
| | | | | | | | | | | | | | | | | | | and MiniportHandleInterrupt() is fired off later via a task queue in ndis_intrtask(). This more accurately follows the NDIS interrupt handling model, where the ISR does a minimal amount of work in interrupt context and the handler is defered and run at a lower priority. Create a separate ndis_intrmtx mutex just for the guarding the ISR. Modify NdisSynchronizeWithInterrupt() to aquire the ndis_intrmtx mutex before invoking the synchronized procedure. (The purpose of this function is to provide mutual exclusion for code that shares variables with the ISR.) Modify NdisMRegisterInterrupt() to save a pointer to the miniport block in the ndis_miniport_interrupt structure so that NdisSynchronizeWithInterrupt() can grab it later and derive ndis_intrmtx from it.
* Add 'fwe' so one doesn't get "<unknown network interface type>".obrien2004-01-042-0/+2
|
* Simplify the various pager allocation routines by computing the desiredalc2004-01-043-15/+16
| | | | object size once and assigning that value to a local variable.
* Define _PATH_MKSNAP_FFS and use it in dump(8) instead of assumingiedowse2004-01-042-2/+3
| | | | | | that mksnap_ffs(8) can be found using the current $PATH. Reviewed by: mckusick
* Correct reference to a non existant man page.charnier2004-01-041-1/+1
|
* Use fprintf() instead of errx() when displaying usage string. The program namecharnier2004-01-041-2/+3
| | | | will not be written twice.
* Properly use strftime(): NUL terminating character is already taken intocharnier2004-01-041-1/+1
| | | | account.
* Remove unused local variable.charnier2004-01-041-4/+3
|
* Avoid using .Nm at the start of the sentence.charnier2004-01-041-3/+2
|
* Move cvs id from comment to code. Use errx(). Add a return (0) at the endcharnier2004-01-041-7/+8
| | | | of main().
* add section number to .Xr directivecharnier2004-01-041-1/+1
|
* Implement NdisScheduleWorkItem() and RtlCompareMemory().wpaul2004-01-044-33/+73
| | | | | Also, call the libinit and libfini routines from the modevent handler in kern_ndis.c. This simplifies the initialization a little.
* This commit was generated by cvs2svn to compensate for changes in r124120,njl2004-01-041-1/+6
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix for "UtAllocate: Attempt to allocate zero bytes" warnings on Dellnjl2004-01-041-1/+6
| | | | | | | | | | | | | | | | laptops that resulted in problems reading battery status. Don't copy Buffers, Packages, or Regions in DsStoreObjectToLocal(). Tested by: scottl, sam Submitted by: Luming Yu (Intel)
* | Avoid calling vprint on a vnode while holding its interlock mutex.kan2004-01-041-2/+2
| | | | | | | | | | | | Move diagnostic printf after vget. This might delay the debug output some, but at least it keeps kernel from exploding if DEBUG_VFS_LOCKS is in effect.
* | Cosmetics: strip '\n' from a string passed to Debugger().kan2004-01-041-2/+2
| |
* | Eliminate the acquisition and release of Giant from vnode_pager_alloc().alc2004-01-041-2/+0
| | | | | | | | | | | | The vm object and vnode locking should suffice. Discussed with: jeff
* | In ndis_attach(), report the NDIS API level that the Windows miniportwpaul2004-01-042-5/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | driver was compiled with. Remove debug printf from ndis_assicn_pcirsc(). It doesn't serve much purpose. Implement NdisMIndicateStatus() and NdisMIndicateStatusComplete() as functions in subr_ndis.c. In NDIS 4.0, they were functions. In NDIS 5.0 and later, they're just macros. Allocate a few extra packets/buffers beyond what the driver asks for since sometimes it seems they can lie about how many they really need, and some extra stupid ones don't check to see if NdisAllocatePacket() and/or NdisAllocateBuffer() actually succeed.
* | In smbfs_inactive(), only invalidate the node's attribute cache if wetjr2004-01-041-1/+1
| | | | | | | | had to send a file close request to the server.
* | Make sigaltstack as per-threaded, because per-process sigaltstack statedavidxu2004-01-031-6/+6
| | | | | | | | | | | | | | | | | | | | | | is useless for threaded programs, multiple threads can not share same stack. The alternative signal stack is private for thread, no lock is needed, the orignal P_ALTSTACK is now moved into td_pflags and renamed to TDP_ALTSTACK. For single thread or Linux clone() based threaded program, there is no semantic changed, because those programs only have one kernel thread in every process.
* | Make sigaltstack as per-threaded, because per-process sigaltstack statedavidxu2004-01-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | is useless for threaded programs, multiple threads can not share same stack. The alternative signal stack is private for thread, no lock is needed, the orignal P_ALTSTACK is now moved into td_pflags and renamed to TDP_ALTSTACK. For single thread or Linux clone() based threaded program, there is no semantic changed, because those programs only have one kernel thread in every process.
* | Sync to 1.153 of usbdevssanpei2004-01-032-2/+25
| |
* | Add some ids(not yet support)sanpei2004-01-031-0/+5
| | | | | | | | | | | | | | | | | | [1] EMS PSX Gun controller converter [2] CSR USB Bluetooth Device PR: kern/60378 [1] Submitted by: Samuel Tardieu <sam@rfc1149.net> [1] <jps@scxnet.de> [2]
* | Reduce the scope of Giant in swap_pager_alloc().alc2004-01-031-2/+2
| |
* | Define KERNBUILDDIR again. The RELENG_5_2 tree is stable enough thatimp2004-01-031-0/+1
| | | | | | | | | | | | | | we can turn this back on to start to resolve the issues with the release process. Approved by: scottl
* | Hook the CPU_GEODE option up.phk2004-01-031-0/+4
| | | | | | | | | | This option is mandatory on platforms like the Soekris 4801 because the i8254 hardware is buggy.
* | Add support Sony CLIE PEG-S500C(Palm OS 3.5)sanpei2004-01-031-1/+79
| | | | | | | | Submitted by: Hiroaki Satoh <hsato@iwate-u.ac.jp> [FreeBSD-users-jp 76073]
* | Sync to 1.152 of usbdevssanpei2004-01-032-2/+9
| |
* | Add support SUN TYPE 6 USB KEYBOARDsanpei2004-01-032-5/+13
| | | | | | | | Submitted by: <schley@cf-wnd.de>
* | Fix Scanlogic SL11R usb-ide protocol and quirkssanpei2004-01-031-2/+2
| | | | | | | | | | PR: kern/60389 Submitted by: Sang Woo Shim <ssw@swoo.org>
* | Add the MMC commands to umass_atapi_transform. It seems to worksanpei2004-01-031-0/+16
| | | | | | | | | | | | | | | | unmodified for ATAPI type devices with ports/sysutils/cdrtools. (But we need timeout routine which was in kern/58649 for fixate, I think.) PR: kern/58649 Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
* | In if_ndis.c:ndis_attach(), temporarily set the IFF_UP flag whilewpaul2004-01-033-13/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calling the haltfunc. If an interrupt is triggered by the init or halt func, the IFF_UP flag must be set in order for us to be able to service it. In kern_ndis.c: implement a handler for NdisMSendResourcesAvailable() (currently does nothing since we don't really need it). In subr_ndis.c: - Correct ndis_init_string() and ndis_unicode_to_ansi(), which were both horribly broken. - Implement NdisImmediateReadPciSlotInformation() and NdisImmediateWritePciSlotInformation(). - Implement NdisBufferLength(). - Work around my first confirmed NDIS driver bug. The SMC 9462 gigE driver (natsemi 83820-based copper) incorrectly creates a spinlock in its DriverEntry() routine and then destroys it in its MiniportHalt() handler. This is wrong: spinlocks should be created in MiniportInit(). In a Windows environment, this is often not a problem because DriverEntry()/MiniportInit() are called once when the system boots and MiniportHalt() or the shutdown handler is called when the system halts. With this stuff in place, this driver now seems to work: ndis0: <SMC EZ Card 1000> port 0xe000-0xe0ff mem 0xda000000-0xda000fff irq 10 at device 9.0 on pci0 ndis0: assign PCI resources... ndis_open_file("FLASH9.hex", 18446744073709551615) ndis0: Ethernet address: 00:04:e2:0e:d3:f0
* | Sync to 1.151 of usbdevssanpei2004-01-032-2/+16
| |
* | Add supportsanpei2004-01-032-0/+4
| | | | | | | | | | | | | | | | | | | | - Canon USB Scanner N676U [1] - Canon USB Scanner N1220U [2] PR: misc/40280 [1] Submitted by: [1] Yasue Koichi / StarRing <starring@fscn.ne.jp> [2] MIYAO Akio <miyao@affrc.go.jp> [FreeBSD-users-jp 74516]
* | subr_hal.c: implement WRITE_PORT_BUFFER_xxx() and READ_PORT_BUFFER_xxx()wpaul2004-01-032-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subr_ndis.c: implement NdisDprAllocatePacket() and NdisDprFreePacket() (which are aliased to NdisAllocatePacket() and NdisFreePacket()), and bump the value we return in ndis_mapreg_cnt() to something ridiculously large, since some drivers apparently expect to be able to allocate way more than just 64. These changes allow the Level 1 1000baseSX driver to work for the following card: ndis0: <SMC TigerCard 1000 Adapter> port 0xe000-0xe0ff mem 0xda004000-0xda0043ff irq 10 at device 9.0 on pci0 ndis0: Ethernet address: 00:e0:29:6f:cc:04 This is already supported by the lge(4) driver, but I decided to take a try at making the Windows driver that came with it work too, since I still had the floppy diskette for it lying around.
* | backout the switch to use a zone for vlan tags; this requiressam2004-01-032-29/+6
| | | | | | | | vlans be present if any driver with h/w vlan tagging is configured
* | Kernel now supports per-thread sigaltstack, follow the change todavidxu2004-01-032-12/+2
| | | | | | | | enable sigaltstack for scope system thread.
* | Tweak ndiscvt to support yet another flavor of .INF files (look forwpaul2004-01-034-5/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the NTx86 section decoration). subr_ndis.c: correct the behavior of ndis_query_resources(): if the caller doesn't provide enough space to return the resources, tell it how much it needs to provide and return an error. subr_hal.c & subr_ntoskrnl.c: implement/stub a bunch of new routines; ntoskrnl: KefAcquireSpinLockAtDpcLevel KefReleaseSpinLockFromDpcLevel MmMapLockedPages InterlockedDecrement InterlockedIncrement IoFreeMdl KeInitializeSpinLock HAL: KfReleaseSpinLock KeGetCurrentIrql KfAcquireSpinLock Lastly, correct spelling of "_aullshr" in the ntoskrnl functable.
* | Note that NO_FLOPPIES is i386-only.obrien2004-01-031-1/+1
| |
* | Make sigaltstack as per-threaded, because per-process sigaltstack statedavidxu2004-01-0314-181/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | is useless for threaded programs, multiple threads can not share same stack. The alternative signal stack is private for thread, no lock is needed, the orignal P_ALTSTACK is now moved into td_pflags and renamed to TDP_ALTSTACK. For single thread or Linux clone() based threaded program, there is no semantic changed, because those programs only have one kernel thread in every process. Reviewed by: deischen, dfr
* | Delete the region we are passed if that is the requested operation.njl2004-01-031-2/+6
| | | | | | | | | | | | This should fix the problem with removing an address space handler although we don't currently use that capability so it's unlikely anyone saw this problem.
* | Pass ACL, extended attribute and MAC vnode ops down the vnode stack.tjr2004-01-031-0/+239
| |
* | Fix usage() (-d is really -n).green2004-01-021-1/+1
| |
* | '+' can also appear in a package file name.obrien2004-01-021-1/+6
| | | | | | | | | | | | Reported by: jhb '^' could also appear in a package file name.
* | Add support for SMB request signing, which prevents "man in the middle"tjr2004-01-028-12/+249
| | | | | | | | | | | | | | | | | | | | | | attacks and is required to connect to Windows 2003 servers in their default configuration. This adds an extra field to the SMB header containing the truncated 64-bit MD5 digest of a key (a function of the user's password and the server's authentication challenge), an implicit sequence number, and the message data itself. As signing each message imposes a significant performance penalty, we only enable it if the server will not let us connect without it; this should eventually become an option to mount_smbfs.
* | Handle WinNT .inf files with a $windows nt$ signature but no .NT decoratedwpaul2004-01-022-2/+10
| | | | | | | | | | | | AddReg sections. Also insert extra newline after emitting device name overrides.
* | Revision 1.74 of vm_meter.c ("Avoid lock-order reversal") makes the releasealc2004-01-021-2/+0
| | | | | | | | | | and subsequent reacquisition of the same vm object lock in vm_object_collapse() unnecessary.
OpenPOWER on IntegriCloud