Commit Graph

74549 Commits

Author SHA1 Message Date
chs 085319fca3 use ENTRY_NOPROFILE() for various entry points,
stack traces work better that way.
2005-01-16 23:50:13 +00:00
chs 60eac8c78f echo the objcopy we actually run. 2005-01-16 23:40:34 +00:00
chs dcc797e3dc increase SYMTAB_SPACE again. 2005-01-16 23:39:44 +00:00
chs bb5a198f3d reduce db_maxoff from 256MB to 1MB, that should be plenty. 2005-01-16 23:38:47 +00:00
chs 831b9cc380 remove some dead code, simplify and wrap some long lines. 2005-01-16 23:26:19 +00:00
chs 0b7dee4b92 implement pmap_wired_count(). use more macros for determining MMU type. 2005-01-16 23:19:52 +00:00
chs bfbf7ea9b1 implement pmap_wired_count(). fix some places we would forget to splx().
move the parts of pte.h that were used into pmap.c (since they were really
pmap-internal details) and delete ibm4xx/pte.h.  other misc cleanup.
2005-01-16 21:35:58 +00:00
bouyer c306ebdd4c Also call ata_dmaerr() on DMA errors (as reported by the underlying controller
driver). We want to downgrade to PIO mode if DMA isn't functionnal.
2005-01-16 20:17:37 +00:00
drochner 2eaf2fb804 Use sendsig_sigcontext() as signal delivery function instead
of the generic (NetBSD specific) sendsig().
We can only work with ...sigcontext for now anyway; the
versioning stuff in sendsig() isn't helpful for osf1 emul.
2005-01-16 20:01:48 +00:00
drochner 2fdf16521b Make osf1_sys_sigaction() use the internal sigaction1()
instead of the compat16_ thing.
This saves 2 pointless copyout/copyin cycles to/from
the "stackgap" buffer, and it gets us a step closer
to a COMPAT_OSF! which works w/o COMPAT_16.
This still doesn't support SA_SIGINFO because the old
COMPAT_16 signal trampoline is used.
2005-01-16 19:57:09 +00:00
tsutsui 18cc5c6cd5 Comment out options XSERVER, which was required by old pccons. 2005-01-16 14:58:42 +00:00
kent 9dd560ddf7 * uaudio_round_blocksize()
calculate playing blocksize and recording blocksize independently
2005-01-16 12:46:00 +00:00
dyoung 55940f7c4e Move the register access mode into struct rtw_regs. Change
rtw_set_access, rtw_set_access1 to match.

Add a subroutine for setting WEP keys.  WEP isn't quite finished,
because I have to add the WEP header to Tx packets.  Implement the
SIOCS80211NWKEY ioctl for setting WEP keys.

Program the LEDs based on operating state and packet activity.

 * On a Revision F RTL8180, blink LED1 at 1Hz to indicate
   scan/authenticate/associate states.  In the run state, turn LED1
   on.  In every state, blink LED1 at 5Hz to indicate non-beacon
   tx/rx activity.  I would like to use two LEDs, but in all my
   Rev. F instances, LED0 is not wired to an LED; instead, the
   first LED is wired to indicate that the card's power is on.

 * On a Revision D RTL8180, program the LEDs so that LED0 indicates
   Tx, and LED1 indicates Rx.  The Rx LED will blink annoyingly if
   there are beacons in the air, but at least the Tx LED is useful.

 * Store the hardware revision in the softc to support my futile
   attempt at programming LEDs for both Rev. D and Rev. F parts;
   I never did get Rev. D LEDs to work right.

 * Add a debug flag RTW_DEBUG_LED for the LED transitions.

Add RTW_TPPOLL_ALL, RTW_TPPOLL_SALL to start and stop, respectively,
all of the transmit rings.

In ad hoc mode, allocate a beacon and load it into the beacon ring.
Start the ring.  In one trial, the card re-transmitted the beacon
ring's contents several times before stopping.  More programming
and testing for ad hoc mode is necessary.  I'm not setting the
beacon flag in the transmit descriptor.

Revamp the transmit section to make better use of all the transmit
rings:  beacon queue, high-, low-, and medium-priority rings.  Put
beacon frames on the beacon ring.  All other management frames,
and data frames, go on the medium-priority ring.  Power-save data
frames go on the high-priority ring.  (Note that powersaving is
not implemented!)  This is a work in progress.

Send all 802.11 Management frames at 1Mbps.

After we put a packet on a transmit ring, tickle the right bit in
the TPPOLL to tell RTL8180.  Stop all rings on error and in rtw_stop.

Use the RF chip type, not the RTL8180 revision, to choose between
host- and MAC-controlled RF serial I/O.  Now the Netgear MA521
works.

Remove bogus definition of bit RTW_TPPOLL_FSWINT.
2005-01-16 11:50:43 +00:00
dyoung 500260511f It's necessary to stop DMA on the beacon ring and reconfigure the
beacon after an IBSS merge, or else beacons transmissions may not
resume like we expect.  From Sam Leffler.
2005-01-16 11:43:34 +00:00
dyoung 07a485e480 Cosmetic: shorten a staircase. 2005-01-16 11:37:58 +00:00
dyoung a4bb6a73ed Fix a misuse of ether_sprintf so that IBSS merges are printed
xx:xx:xx:xx:xx:xx -> yy:yy:yy:yy:yy:yy instead of
xx:xx:xx:xx:xx:xx -> xx:xx:xx:xx:xx:xx.
2005-01-16 11:36:54 +00:00
mycroft ea0b1cb353 Just to be absolutely correct, wait an additional 1ms after the "power cycle"
event, to cover the RESET Width (Tw (RESET)).
2005-01-16 08:56:29 +00:00
mycroft b0345c674e Christos's crappy Libretto 100CT has an extremely long ramp for socket Vcc
(violating the PC Card spec), so... use the "power cycle" socket event to
determine when we've reached Vcc before proceeding, rather than using a fixed
amount of time.  This has the double advantage that it makes the card attach
time even shorter on sane systems -- the minimum is now ~38ms on my i8500
rather than 222ms.

Probably a similar change should be made to pcic, but it was hard enough
figuring out whether it would work with pccbb.  The chip specs suck.

For now, I'm leaving in a couple of additional printf()s in the hope that I
will get some interesting data from them.
2005-01-16 08:51:55 +00:00
yamt b855149311 remove no longer needed #include. 2005-01-16 06:48:38 +00:00
dsainty ba43333ef8 Make this compile (after previous commit) with UAUDIO_DEBUG defined 2005-01-16 06:02:19 +00:00
hamajima 1daa6c5284 Apply patch hpcmips/26158 (requested by darkstar)
This patch solves install/28656.
2005-01-16 03:21:21 +00:00
christos 78ec5c8f06 Disable the oow test because it is broken. It is killing valid packets. 2005-01-16 02:56:22 +00:00
chs 584edb5b1a simplify by not pretending that mac68k can have more than 1 zsc. 2005-01-16 00:33:43 +00:00
chs 12fcee381e only match one instance (instead of an unlimited number).
simplify by not pretending that mac68k can have more than 1 zsc.
2005-01-16 00:32:59 +00:00
chs 7caab7b80d don't require that the aed unit number be zero. 2005-01-16 00:32:16 +00:00
chs 630333b875 handle lack of locators in LKM context differently. 2005-01-16 00:32:03 +00:00
chs 8a9023bfc6 really ansify. 2005-01-15 22:39:09 +00:00
kent ba29617639 minor KNF 2005-01-15 16:23:03 +00:00
chs 7acd68b14a de-__P, remove register, ansify, b* -> mem*. 2005-01-15 16:00:59 +00:00
kent 93293b9ec7 ansify and KNF 2005-01-15 15:19:51 +00:00
chs a877481d76 deal with alpha's architectural failing of not being able to operate on
memory quantities smaller than 32 bits.
2005-01-15 15:10:49 +00:00
skrll 4b90045498 Remove local PCI_PRODUCT defines 2005-01-15 13:27:23 +00:00
skrll fcf73d97d0 Regen. 2005-01-15 13:23:31 +00:00
skrll 26e988358c Add Intel PRO/Wireless LAN 2915ABG Mini-PCI Adapter 2005-01-15 13:21:31 +00:00
skrll 3d4f3981f0 Make this compile 2005-01-15 13:05:45 +00:00
skrll c0cd9d1765 s/u_int_t/u_int/ in structure member declaration. 2005-01-15 13:03:40 +00:00
kanaoka 79c7579be2 - Make sure D0 state if device has Power Managmet capability.
- Use aprint_*.
 - Change some cosmetic.

XXX not tested.
2005-01-15 12:33:37 +00:00
kanaoka 1c4a548b54 - Use aprint_*.
- Use ANSI decls.
 - Change some cosmetic.
2005-01-15 12:32:09 +00:00
dyoung 7ce33f984e Fix two bugs: frames were bogusly discarded with the complaint
"oversize frame."  Also, some an(4) instances (esp. w/ firmware
version 5+) would not reliably interoperate with some Cisco APs.

Add a sysctl for enabling/disabling debugging.

The problem with Aironet AP interoperability was that the rx frame
'gap' will sometimes be loaded with the 802.2 SNAP header, and
sometimes omitted, when connected to a Cisco AP; an(4) was *always*
discarding the gap.  The problem with "oversize frames" was an
off-by-2 error in the frame-length arithmetic.

While we're here, pad some RIDs to the length that new firmware
really expects.

Thanks to Jim Miller for his valuable bug reports and testing, and
to Dheeraj Reddy for RID-length patches.  Some clues from various
Linux drivers for Cisco/Aironet cards led to the gap fix.
2005-01-15 11:01:46 +00:00
jdolecek 23ddf6b52d regen: Fix Geforce 6800GT entry 2005-01-15 08:40:41 +00:00
jdolecek cd31b660cb Fix Geforce 6800GT entry 2005-01-15 08:40:07 +00:00
jdolecek 139cc687c0 regen: add bunch of NVIDIA GeForce 6800 devices 2005-01-15 08:38:19 +00:00
jdolecek 9ed9632969 add bunch of GeForce 6800 entries, from Andrew Gillham 2005-01-15 08:37:34 +00:00
jdolecek 8fe1013ea1 regen: use full 'nForce2 Ultra 400' tag for the NFORCE2_400* enties 2005-01-15 08:33:19 +00:00
jdolecek 739bcb85f8 use full 'nForce2 Ultra 400' tag for the NFORCE2_400* enties 2005-01-15 08:32:53 +00:00
manu 5ff6d3d572 Duplicate nested if statement in PIM code (from the OpenBSD tree) 2005-01-15 06:50:47 +00:00
mhitch 3eeb49f1f2 Detection of mouse packet did not work with my mouse. It only sends 6 bytes
instead of the 8 defined by struct dt_locator_msg.  Change the dectection
so we swap the mouse/keyboard addresses only if the packets don't match
what's expected (rather than on every packet).  My mouse now works, and
if a different mouse sends an 8 byte packet, it should also work.
2005-01-15 05:24:30 +00:00
kent 14eae77d98 fix a typo in audiostartp(). This change fixes a problem introduced by
kent-audio1 merger with some audio hardware such as emuxki.
2005-01-15 04:57:18 +00:00
briggs 6f08c43eaa Drop default RX bufs to 2 so that they fit in one page of RAM.
Located by Tim Kelly.  Also discussed on port-macppc with Dave Huang.
XXX -- This driver really needs to be introduced to bus_dma(9).
2005-01-15 02:50:22 +00:00
christos 201de1bdd0 Cast nkmempages to vsize_t before shifting to avoid overflow. Requested
by soda.
XXX: should be pulled up to 2.0.
2005-01-14 17:03:58 +00:00
scw 36a24a9003 Cast away a couple of "assignment makes pointer from integer without a cast"
warnings.
2005-01-14 16:23:32 +00:00
yamt 3068e2f45a don't use uvm_kmapent_alloc for non-intrsafe kernel submaps
(namely exec_map and phys_map) becuase:
- normal vmmpepl is fine for them.
- some of them are tightly sized.  eg. size of exec_map on vax is just NCARGS.

should fix vax boot failure reported by Johnny Billquist on current-users@.
2005-01-14 14:25:40 +00:00
ragge c6e237dd62 Fix halt/reboot register write syntax. From Johnny Billquist. 2005-01-14 11:47:43 +00:00
dyoung f7a7696b57 Fix typos in TPPOLL register definition: stop the normal- &
low-priority queues with bit1 and bit0, not bit2 and bit2.
2005-01-14 10:13:55 +00:00
skrll 2cd9c39722 Update the emulation names after recent binutils changes. 2005-01-14 08:17:49 +00:00
itojun 5377005da8 ESP AESCTR got an official protocol number
http://www.iana.org/assignments/isakmp-registry
2005-01-14 04:11:55 +00:00
kent c9ec679311 ansify and KNF 2005-01-14 03:41:45 +00:00
joff d3eafb7e4f Dont try freeing bootstrap pages with pool_page_free. Fixes kern/28869 2005-01-14 02:28:54 +00:00
oster 320bcedf91 After walking through desc->dagList nuking entries, make sure
desc->dagList is set to NULL before continuing.  If we don't,
there's a danger that we'll try to re-free these items later.
(This should fix a panic reported to me via private communciation.)
2005-01-14 01:33:15 +00:00
simonb ab2eace68f Revert the previous change of making topdown VM the default. While
topdown VM works on a MIPS64 bcm1125, it doesn't work on a Cobalt
(rm5231?) and a DEC 5000/260 (r4400).  On both of these init dies and
we panic.
2005-01-14 01:26:22 +00:00
cube fade05f67f As fd_lastfile might be negative, we can't use the (u_int) cast trick to
compare fd and fdp->fd_lastfile in fdrelease(), so change the test to a
more explicit one.  Spotted by Matt Thomas.

Should fix the panic reported by Matthias Scheler.
2005-01-14 00:25:12 +00:00
kleink db5b1f2fa2 Pass the interrupt swizzle down to the platforms' fixup functions.
N.B. Only using it on the ulmb60xa for now.
2005-01-13 23:57:04 +00:00
fvdl 4880e83638 If there are no ioapics, don't bother to put things in ioapic mode.
However, always do this otherwise, regardless of the revision.
Remove incorrect comment.
2005-01-13 23:40:01 +00:00
jdolecek 5dc2830936 match NVIDIA nForce2 Ultra 400 IDE and Serial ATA controller; only the IDE
controller actually tested
2005-01-13 20:54:39 +00:00
jdolecek de76592011 regen: add bunch of NVIDIA nForce2 Ultra 400 chipset devices 2005-01-13 20:52:20 +00:00
jdolecek 87a7c34e2d add bunch of NVIDIA nForce2 Ultra 400 chipset devices 2005-01-13 20:51:49 +00:00
petrov 1b730a5d79 Correct NKMEMPAGES_MIN option name. 2005-01-13 20:16:02 +00:00
drochner aeae2d9c94 compile tcp_debug.c only if the TCP_DEBUG option is set,
and remove the "#ifdef TCP_DEBUG" around everything
2005-01-13 19:09:40 +00:00
jdolecek 69d096eee2 regen: VIA Velocity 2005-01-13 18:25:49 +00:00
jdolecek 0358345ff3 add VIA Velocity ID 2005-01-13 18:25:19 +00:00
shige 64e3403f1b Add files:
- powerpc/ibm4xx/autoconf.c		(autoconf glue)
	- powerpc/ibm4xx/ibm4xx_autoconf.c	(autoconf for ibm4xx)
	- evbppc/obs405/md_autoconf.c		(machine-dependent autoconf)
2005-01-13 17:20:18 +00:00
shige 8f63deecdb Set machine-dependent obs405_device_register function to md_device_register. 2005-01-13 17:17:53 +00:00
shige 49c3c14437 Add externs:
- md_device_register (func ptr)
	- ibm4xx_device_register (func)
2005-01-13 17:16:33 +00:00
shige 2e87452aa9 Remove device_register, cpu_rootconf functions.
These functions are moved to ibm4xx/autoconf.c.
2005-01-13 17:14:36 +00:00
shige 79354dbad0 Add device_register function for all ibm4xx machine. 2005-01-13 17:12:28 +00:00
shige 786539f27b Add device_register machine-independent-glue. 2005-01-13 17:11:14 +00:00
shige 0a3cce2ad4 Add machine-dependent device_register function. 2005-01-13 17:09:17 +00:00
shige 6751e96490 Call com_opb_cnattach function. 2005-01-13 17:07:24 +00:00
is a354b7d3c8 Regenerate from GENERIC.in: no more idesc - we're using wdc. 2005-01-13 16:12:35 +00:00
is fe6a35af59 No more idesc please - we use the wdc driver. 2005-01-13 16:11:38 +00:00
kent 069e72cbb8 ansify and KNF 2005-01-13 15:14:03 +00:00
kent b85368e36f ansify and KNF 2005-01-13 15:01:27 +00:00
jmmv c4c2514524 Fix two typos. 2005-01-13 14:51:28 +00:00
kanaoka 3e734f8e90 - Move re_diag() from bus independend code to PCI attachment code.
XXX: I tested cardbus device,but not PCI device.
2005-01-13 14:24:24 +00:00
kanaoka 3126ccfe57 - Add my tested device in a comment.
- Change minimum value of latency timer from 0x20 to 0x40.
2005-01-13 14:13:18 +00:00
yamt be0c269596 bump to 2.99.14. for uvm_km_free_wakeup. 2005-01-13 11:53:34 +00:00
yamt 22099ab744 in uvm_unmap_remove, always wakeup va waiters if any.
uvm_km_free_wakeup is now a synonym of uvm_km_free.
2005-01-13 11:50:32 +00:00
yamt 48355cdf13 kmeminit_nkmempages: don't limit the size of kmem_map to physmem/4
because, while there's little benefit to do so, it easily causes
"out of space in kmem_map" panic on machines with small memory.
2005-01-13 11:49:09 +00:00
simonb 11152f29d3 More KNF nits. 2005-01-13 00:48:01 +00:00
fvdl ae8c299425 * Wrap IPI sending in splclock(), since an interrupt at IPL_CLOCK or lower
may cause IPIs.
* Make broadcast IPIs go through x86_ipi() as well, so that they wait for
  the APIC to be ready too.

From Stephan Uphoff.
2005-01-13 00:08:22 +00:00
christos 53aa30e2eb s/vp->v_uobj.vmobjlock/vp->v_interlock/. This is the last instance in kern/*.c 2005-01-12 21:51:52 +00:00
cube 8ec7c6764b fd_lastfile should be -1 when there are no opened file descriptors.
Hence, make find_last_set return -1 in such situation, and initialize it
such.  Otherwise, with 0 meaning two things, it confused the F_CLOSEM
fcntl which could end up looping indifintely (PR#28929 by Brian Marcotte).

However, this change enlightens another bug in fdcopy(), where more entries
than needed were cleared in the new file descriptor table, so the memset()
call there is fixed too.

Analyzed with the help of Greg Oster.
2005-01-12 20:41:45 +00:00
drochner 9f4d33cf9a On my laptop, the SMI handler for the TCO interrupt appearently
re-tickles the watchdog, keeping the system from rebooting.
So enable the SMI for TCO only if the hardware reset is not available,
as a last resort.
2005-01-12 17:45:58 +00:00
kent d69abf4ca0 - make this compile
- style fixes
2005-01-12 17:43:19 +00:00
drochner 3ad43282d2 apply an "& WDOG_MODE_MASK" so that user mode watchdogs started with "-A"
are terminated properly
2005-01-12 16:14:35 +00:00
kent 986f217c29 remove empty auixp_open() and auixp_close(). They are optional.
style fixes
* Don't associate a name with the types
* The function type must be declared on a line by itself
  preceding the function.
* DO NOT initialize variables in the declarations.
* No parentheses are needed around the return value.
2005-01-12 15:54:34 +00:00
yamt e4666bf785 don't reserve (uvm_mapent_reserve) entries for malloc/pool backends
because it isn't necessary or safe.
reported and tested by Denis Lagno.  PR/28897.
2005-01-12 09:34:35 +00:00
reinoud 5c590de03d Update copyright messages 2005-01-12 00:28:03 +00:00
reinoud 9695bde219 Add auixp(4) driver for the architectures that are known to have the ATI
IXP chipset.
2005-01-12 00:18:16 +00:00
reinoud df06ca85e4 Initial commit of auixp(4) driver. It's a driver for the audio part of ATI
IXP-200 and family motherboard chips. Its functional for both recording and
playback.

Note that quadraphonic and Dolby 5.1 audio are not tested by me but ought
to work fine. I can set the number of channels etc. OK but i can't listen
to the result. Any feedback on this performance would be greatly
apreciated.
2005-01-12 00:05:43 +00:00
skrll 28528764d0 Disable the debug stuff 2005-01-11 18:54:18 +00:00
skrll 70f6d0ab0f NetBSD RCSID 2005-01-11 18:49:05 +00:00
skrll e2b108cb16 Add iwi(4). 2005-01-11 18:41:59 +00:00
skrll 60b4bf1e8d iwi(4) - Intel PRO/Wireless 2200AG/2915ABG driver.
Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/

Ad-hoc mode and roaming are not fully implemented yet.
2005-01-11 18:24:24 +00:00
he d305062a73 In the __lint__ version of va_arg(), apply the cast the user specified.
Fixes build problem; vfprintf.c from libc fails to lint otherwise.
2005-01-11 11:36:27 +00:00
simonb f17401da54 Add isa_irq.o and spl.o to the list of files that depend on assym.h so
that "make -j<bignum>" works without a "make depend" beforehand.
2005-01-11 08:41:07 +00:00
simonb f645983fc7 Switch from intrcnt interrupt account to event counters. 2005-01-11 08:05:13 +00:00
imp f2bd93408a Merge from FreeBSD:
sc_child is only used on NetBSD and OpenBSD, ifdef appropriately
FreeBSD revisions:
	ehcivar.h	1.8
	ohcivar.h	1.39
	uhicvar.h	1.39
2005-01-11 07:45:34 +00:00
simonb 3b6024ad24 ANSIfy. 2005-01-11 07:01:38 +00:00
simonb 61b633d474 Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-11 05:42:17 +00:00
kent 5610969544 ansify and KNF 2005-01-11 04:23:14 +00:00
briggs 9750b8741d In epshutdown(), do not attempt to disable the interface when stopping it
because we're about to write to it again (with a global reset).  Disable
the interface explicitly after the reset is written.
2005-01-11 04:16:27 +00:00
kent dc63d1767d fix compilation errors 2005-01-11 03:45:17 +00:00
chs 67402a485f enable powersave mode on 7450 and family.
also, the HID0_DOZE bit in this context doesn't mean "doze",
it's actually "enable extra BATs".  add an alias for this bit
and use it as appropriate.
2005-01-11 02:09:54 +00:00
chs cf6b9650a5 remove leftover debug printf. 2005-01-11 02:04:01 +00:00
chs 320acb3f66 assert that PSL_EE is on when do_pending_int() is called
(since things don't work too well if it's not).
2005-01-11 02:02:41 +00:00
uwe c1574ed6c1 Add keyboard layout for Jornada 680/690 Spanish (ABE).
From Alfonso Fernandez.
2005-01-11 01:54:20 +00:00
uwe 080b48020c Add KB_ES | KB_MACHDEP placeholder for Jornada 680/690 Spanish (ABE). 2005-01-11 01:39:36 +00:00
itojun 4db58ab415 fixed a unexpected addr/port matching failure in SA management
FreeBSD-PR: kern/72393
2005-01-11 01:30:17 +00:00
uwe e9fd18895b Regen for Compaq Aero 8000 and Jornada 680/690 with Spanish keyboard. 2005-01-11 01:05:32 +00:00
uwe 2a292865c4 Add Compaq Aero 8000 (requested by Linux folks).
Add Jornada 680/690 with Spanish keyboard.
2005-01-11 01:03:42 +00:00
joff b6b2f0d2df Use hd44780var.h instead of hd44780_subr.h 2005-01-11 00:59:06 +00:00
joff e1191d101f Replace hd44780_subr.h to hd44780var.h and install to userland. 2005-01-11 00:57:56 +00:00
mycroft 7f1fe4e81f Rearrange some code slightly to avoid uninitialized variable warnings. 2005-01-11 00:19:36 +00:00
joff 5b4ec09e40 Add GPIO addresses 2005-01-10 23:17:53 +00:00
kent 8874b02756 2.99.13 (audio in-kernel API changes) 2005-01-10 22:08:55 +00:00
kent 23b5d91433 merge kent-audio1 branch, which introduces audio filter pipeline to the MI
audio framework


Summary of changes:

* struct audio_params
  - remove sw_code, factor, factor_denom, hw_sample_rate,
hw_encoding ,hw_precision, and hw_channels.  Conversion information
is conveyed by stream_filter_list_t.
  - change the type of sample_rate: u_long -> u_int
  - add `validbits,' which represents the valid data size in
precision bits.  It is required in order to distinguish 24/32bit
from 24/24bit or 32/32bit.

* audio_hw_if
 - add two parameters to set_params()
	stream_filter_list_t *pfil, stream_filter_list *rfil
   A HW driver should set filter recipes for requested formats
 - constify audio_params parameters of trigger_output() and
trigger_input().  They represent audio formats for the hardware.
 - make open() and close() optional
 - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters
 to round_blocksize()

* sw_code is replaced with stream_filter_t.
  stream_filer_t converts audio data in an input buffer and writes
into another output buffer unlike sw_code, which converts data in
single buffer.
  converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c,
dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are
reimplemented as stream_filter_t

* MI audio
 - audiosetinfo() builds filter pipelines from stream_filter_list_t
filled by audio_hw_if::set_params()
 - audiosetinfo() returns with EINVAL if mmapped and set_params()
requests filters
 - audio_write(), audio_pint(), and audio_rint() invoke a filter
pipeline.
 - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS,
AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for
AUDIO_GETINFO handle values for a buffer nearest to userland.

* add `struct device *' parameter to ac97_attach()

* all of audio HW drivers follow audio_hw_if and ac97 changes
2005-01-10 22:01:36 +00:00
chs a1dc78ab6b use a global variable to ensure that only one instance is configured
rather than requiring that its unit number be zero.
simplify by not pretending that nexts can have more than 1 zsc.
2005-01-10 17:07:09 +00:00
chs da79fa5c17 de-__P, remove register, ansify. 2005-01-10 17:01:55 +00:00
chs 84f5997a1a really remove register. 2005-01-10 17:01:22 +00:00
chs 69ef38f074 de-__P, remove register, ansify, other cleanup. 2005-01-10 16:47:48 +00:00
chs d65ac815a8 use a global variable to ensure that only one instance is configured
rather than requiring that its unit number be zero.
simplify by not pretending that powermacs can have more than 1 zsc.
2005-01-10 16:38:06 +00:00
chs 35cacfdeb8 de-__P, remove register, ansify. 2005-01-10 16:34:46 +00:00
tls abcbeb46d9 Users have observed that the amount of memory used by the metadata cache
can in some situations exceed the high-water mark, and stay there once it
gets there.  Adjust the canrelease function so that it will immediately
bring us back down to the high-water mark in this situation.

How can this happen at all?  Consider a machine with two filesystems, one
with a much larger blocksize than the other.  If the small-block filesystem
is very busy, growing the cache up to the high-water mark, and then the
large-block filesystem becomes busy, buffers will be recycled (since we
are at the high-water mark) but _grow each time they're recycled_.  Once
we're above the high-water mark, the canrelease call in allocbuf (without
this change) doesn't shrink us back down below it; so things get worse and
worse.
2005-01-10 15:29:50 +00:00
matt b046d5ecf9 Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-10 05:42:09 +00:00
mycroft 87e784e1de Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-10 05:34:51 +00:00
mhitch 248d777d24 Fix Maxine keyboard and mouse ioctl routines to return EPASSTHROUGH for
unrecognized commands so they can be passed to other handlers.
2005-01-10 04:43:34 +00:00
mhitch 4deb82db56 Maxine mouse buttons were being mapped incorrectly (old dtop.c code mapped
them to serial mouse buttons, which were then mapped into events to pass
to the X server).
Also fix bug in mouse motion - putting 2 unsigned bytes into an integer
resulted in a 16-bit unsigned value, so negative mouse motion didn't work.
2005-01-10 04:40:05 +00:00
lukem 4ae6a6d6f4 Support -DNOINET6 to disable USE_INET6 (a la the FreeBSD section earlier) 2005-01-10 02:10:47 +00:00
smb ddd2ade252 Add a software watchdog timer facility. Because this slightly
changes the "tickle" model of wdogctl(8), it was modified as well;
while I was in there, I cleaned up the argument parsing.

The code was reviewed by simonb@.
2005-01-09 22:51:32 +00:00
joff fdb2df8f5f enable pcic(9) PCMCIA controllers in default kernel 2005-01-09 21:44:32 +00:00
joff 6b75e7b0f9 Allow for pcic(9) attachments on the ISA bus 2005-01-09 21:40:02 +00:00
joff 0686f5514c call isa_bs_mallocok() right before ISA bus attachment 2005-01-09 21:35:51 +00:00
joff 453e7edc70 Implement extent(9) based management of ISA io/mem so pcic(9) has
a chance of working.
2005-01-09 21:32:08 +00:00
christos 4bfe82cbac Flip the order of two lines I mixed. Thanks to wiz for noticing. 2005-01-09 20:25:26 +00:00
christos 870890917c now takes an optional filename. 2005-01-09 19:23:26 +00:00
christos 82ee9647b8 Allow PT_DUMPCORE to specify the core filename. 2005-01-09 19:22:55 +00:00
tsutsui e34a3b7f08 Small optimization in vmapbuf()/vunmapbuf().
BTW, should we also pass 'VM_PROT_READ|VM_PROT_WRITE' to flags
with PMAP_WIRED for pmap_enter() in vmapbuf()?
2005-01-09 17:41:34 +00:00
tsutsui a9b3f31984 Some cosmetics:
- remove __P()
- use ansi decls
- u_int8_t, u_char -> uint8_t
- use macro for debug printfs
- some KNF
2005-01-09 16:59:41 +00:00
chs 8975a0856f adjust the UBC mapping code to support non-vnode uvm_objects.
this means we can no longer look at the vnode size to determine how many
pages to request in a fault, which is good since for NFS the size can change
out from under us on the server anyway.  there's also a new flag UBC_UNMAP
for ubc_release(), so that the file system code can make the decision about
whether to cache mappings for files being used as executables.
2005-01-09 16:42:43 +00:00
martin 5689de1472 Bugfixes and acceleration support.
From Michael Lorenz.
2005-01-09 16:29:20 +00:00
joff 5f20950e38 o reversed sense of RS in writereg
o attempt HD44780 reset on open if LCD not detected at bootup
o skip everything if sc_dev_ok == 0 in writereg/readreg
2005-01-09 15:48:51 +00:00
joff 838c742991 Handle (i.e. don't lock up the kernel in hd44780_busy_wait) the case of the
LCD not being there.
2005-01-09 15:43:56 +00:00
tsutsui 8d65a2e17f - Switch to wscons(4) with MI vga(4), pckbc(4) and pms(4).
- Reorganize console initialization code like i386 rather than cninit().
Note old pccons/opms and ofcons support still works.

XXX Xserver is not tested because XF86_4 doesn't have support
XXX for IGS CyberPro2010 on shark. (yet?)
2005-01-09 15:39:59 +00:00
tsutsui 7da0e84338 - Adapt to vga_common_attach() API changes.
- Add more VGA initialization code to vga_ofbus_cnattach() from pccons.c.
- Export vga_ofbus_cnattach() prototype for consinit() ops.
2005-01-09 15:29:27 +00:00
tsutsui 01c812cc7b Add bus_space_copy_region_2() op, which is required by MI vga(4),
from sys/arch/arm/arm/bus_space_asm_generic.S.

XXX: isa_io_asm.S and bus_space_asm_generic.S is mostly identical.
2005-01-09 15:26:19 +00:00
kanaoka dcccc9d794 sys/dev/ic/rtl8169.c:
- re_attach(): Use bus_dma* directly instead of calling re_alloc().
 - re_attach(): Free bus_dma* resources if attach fails.
 - re_detach(): Free bus_dma* resources.
 - re_newbuf(): Remove unnecessary error check.

sys/dev/ic/rtl81x9reg.h:
 - Define RTK_NTXSEGS.

sys/dev/ic/rtl81x9var.h:
 - Add new members to struct rtk_list_data for bus_dma*.
2005-01-09 12:25:25 +00:00
yamt d502f705e1 ifioctl: don't use super user priviledge unless it's needed. 2005-01-09 12:18:46 +00:00
kanaoka 6488f7bcc4 - Use aprint_*.
- Remove unnecesarry code.
 - Changes some cosmetic.
2005-01-09 12:15:36 +00:00
mycroft e72fc6717e Whoops -- move the location of the VOP_OPEN()/VOP_CLOSE(), et al, from
foo_mountfs() to foo_mount(), to match the new mountroot API.
Also, for ext2fs and lfs, copy some restructuring from ffs to allow changing
file system parameters without specifying the device name.
(ntfs could use some more work.)
2005-01-09 09:27:17 +00:00
mycroft 0461b30ac3 Rework the mountroot interface so that vfs_mountroot() opens the root device
and just passes it on to the file system functions.  This avoids opening and
closing the device several times.

Mentioned on tech-kern some time ago, IIRC.  I've been running this for a
long time.
2005-01-09 03:11:48 +00:00
yamt e5bd47dc3c invalidate cache if filesize is changed besides our activity
because it means that we're out of sync with the server.
2005-01-09 01:32:32 +00:00
cube da24800d8c Install net/if_tap.h. 2005-01-08 22:28:51 +00:00
cube 0615d0207e Addition of tap(4).
NAME
     tap - virtual Ethernet device

SYNOPSIS
     pseudo-device tap

DESCRIPTION
     The tap driver allows the creation and use of virtual Ethernet devices.
     Those interfaces appear just as any real Ethernet NIC to the kernel, but
     can also be accessed by userland through a character device node in order
     to read frames being sent by the system or to inject frames.

     In that respect it is very similar to what tun(4) provides, but the added
     Ethernet layer allows easy integration with machine emulators or virtual
     Ethernet networks through the use of bridge(4) with tunneling.

``Qui tacet consentire videtur.''
2005-01-08 22:27:54 +00:00
joff 9a859b8fc6 Support LCD by default on TS-7200 2005-01-08 20:41:56 +00:00
joff 63b4d87a37 Add tslcd device 2005-01-08 20:39:18 +00:00
joff c8da149022 add tslcd 2005-01-08 20:26:28 +00:00
joff 8bf98807a3 Add tslcd device 2005-01-08 20:24:59 +00:00
joff c87859c9da Support for bit-banging HD44780 bus cycles on the generic LCD header 2005-01-08 20:23:32 +00:00
joff 762a60356c Replace the rwrite and rread functions that take a bus_space_tag_t and
bus_space_handle_t with the new writereg and readreg
functions that take a struct hd44780_chip * and a u_int32_t rs (register-select)
2005-01-08 20:21:00 +00:00
joff 3d76a36e9e Change TIMEOUT_XXX to HD_TIMEOUT_XXX 2005-01-08 20:19:08 +00:00
joff 79ce2f10af Various improvements for connecting HD44780s using bit-banging style devices
o add sc_writereg and sc_readreg functions that get passed the hd44780_chip
  struct and RS (register-select) signal
o add sc_dev to struct hd44780_chip so upper level read/write routines can get
  back to their parent softc
o change TIMEOUT_XXX to HD_TIMEOUT_XXX
o remove sc_rread and sc_rwrite in favor of new sc_writereg and sc_readreg
o add new flag HD_UP to sc_flags that is set once 4bit/8bit mode selection
  has been finalized.
o remove sc_irwrite, MD readreg/writereg should check state of HD_UP instead
2005-01-08 20:17:22 +00:00
mhitch d6b26ac1f0 Fix MAXINE keyboard multi-key press bug. Keyboard sends all currently
depressed keys in each message.  Any keys in current message that are
also present in previous message are ignored.  However, copying a byte
array into an integer array and comparing entry by entry doesn't have
the desired effect.  Change the definition of the save buffer to match
the current message buffer data.
2005-01-08 18:48:34 +00:00
fredb f8f4807136 Regen. 2005-01-08 16:07:20 +00:00
fredb 99ad984e37 Recognize the Broadcom 5721 Gigabit Ethernet, as found on SuperMicro P8SCi
motherboards.
2005-01-08 16:00:03 +00:00
ginsbach 4b4b860766 regen 2005-01-08 04:58:22 +00:00
ginsbach d3c0713e84 Use the more common name, Radeon U1, for the IGP 320M. 2005-01-08 04:53:39 +00:00
briggs 1a7331ca01 cosmetic changes. 2005-01-08 04:24:05 +00:00
joff de9b3a018a Add TS7200/EP93xx ARM related device names 2005-01-08 04:04:00 +00:00
briggs c5aa4aada2 Make obio match multiple times to allow access to devices on systems
where there might be devices under two I/O bridges (like PowerBook G3s).
Attempt to have devices under 'gatwick' share parental interrupt.  This
may still need some work, but a step in the right direction.
From Tim Kelly.
2005-01-08 03:24:58 +00:00
yamt 6292485301 constify broadcastaddr. 2005-01-08 03:18:18 +00:00
yamt 06fbfe5c17 constify. 2005-01-08 03:16:51 +00:00
yamt d06c4aee84 remove an unused member, enm_ec from ether_multi. 2005-01-08 03:13:09 +00:00
yamt 68c071389c nfs_lookup: check n_nctime for positive entries as well to improve
cache consistency.
2005-01-08 03:12:30 +00:00
yamt 2156a63f02 netatalk: remove a redundant extern decl of etherbroadcastaddr. 2005-01-08 03:11:03 +00:00
joff 2f2edb0a13 Support up to 4 TS-ETH10 ethernet boards on the PC/104 bus 2005-01-08 02:58:03 +00:00
joff 8d1a86c97d add tscs 2005-01-08 02:56:35 +00:00
joff 4b903bb725 Support for TS-ETH10 PC/104 enet isa card based on CS8900 2005-01-08 02:55:52 +00:00
briggs 4137e66929 Allow MSR[POW] off for power saving on 604-era CPUs. From Tim Kelly.
XXX -- needs benchmarking
2005-01-07 21:31:04 +00:00
briggs 35a39caef5 Don't attempt to probe the cache with l2cr on 604ev. From Tim Kelly. 2005-01-07 20:41:35 +00:00
matt 6ce9ee4620 Add a dtype for flash memory disks. 2005-01-07 18:29:15 +00:00
yamt f276045e22 add ETHERTYPE_SLOWPROTOCOLS. (0x8809) 2005-01-07 12:37:55 +00:00
tsutsui 6963e49e45 Add options KLOADER, to make it easier to boot a new kernel on the console. 2005-01-07 11:32:43 +00:00
skrll 6a8415b9ef KNF 2005-01-07 08:02:16 +00:00
briggs 8bf4e0c153 - Use the O'Hare mask on systems with /bandit/ohare. This basically treats
the mediabay interrupt as an internal interrupt.
- Simplify gc_reenable_irq() a bit.
- Ensure that interrupts are off when we call gc_reenable_irq().
- Make the handling for stuck interrupts on old-style interrupt controllers
  a bit more robust.  If we get stuck interrupts, don't panic.  Just disable
  them.
2005-01-07 06:11:20 +00:00
briggs 8dce4f9979 - If pm_pmgrop_pm2() fails, return after splx() -- there's no sense in
continuing.
- Note that there really needs to be bounds-checking on PMData.
2005-01-07 05:03:08 +00:00
briggs f537a73f9e Increase buffer from 32 bytes to 128 bytes in PMData. I have observed a
response from the device that had 120 bytes of data.  The lack of any
bounds-checking in pm_direct.c allowed that data to smash the stack in
the interrupt handler.
2005-01-07 04:59:58 +00:00
ginsbach 661eb28d4c Add command to read the defect data from a direct access device. 2005-01-07 02:08:34 +00:00
perry 0d3f1b36a7 space-then-tab ixpide so it comments out nicely. 2005-01-07 01:31:14 +00:00
mycroft 13495aa242 If sa_upcall() fails (which is always going to be due to resource exhaustion),
do not leak siginfo structures.

Note that in the cases of trap signals and timer events, losing this
information could be very bad; right now it will cause us to spin until the
process is SIGKILLed.

"Needs work."
2005-01-06 19:26:41 +00:00
joff cff5504bf7 Add missing newline after preposterous time warning printf 2005-01-06 16:11:54 +00:00
he 33d45d5d2a Add recognition of LSI Logic FC919X chips, as found on
LSI Logic LSI7102XP-LC controllers.
Document FC919X and FC929X with separate entries in the man page.
2005-01-06 14:58:00 +00:00
he c4d71a859c Regen after adding entry for LSI Logic FC919X. 2005-01-06 14:56:22 +00:00
he 9d71f19b13 Add entry for LSI Logic FC919X, as found on LSI Logic LSI7102XP-LC
controllers.
2005-01-06 14:55:37 +00:00
yamt f80647ef1e nfs_loadattrcache: invalidate access cache when ctime is changed. 2005-01-06 11:52:44 +00:00
scw 5643984efd In iopiic_wait(), latched status bits in the ISR is cleared by writing
ones to the appropriate bits, not zeroes. In this case, just write the
value from a previous read of the register.
2005-01-06 09:34:02 +00:00
uwe b667c1f82d Fix lint stub for va_start so that lint is actually happy about it. 2005-01-05 23:39:51 +00:00
simonb a773da1261 Revert previous method of stripping out the .eh_frame sections from
objects as they're built now that we strip them all out at final link
time.
2005-01-05 12:18:18 +00:00
simonb 888d4fa34c Discard any .eh_frame sections at link time by asking ${LD} to dump the
current linker script, change references for any .eh_frame sections so
that they go in to the special "DISCARD" section so that they are not
included in the final object, and use the resultant linker script when
actually linking the bootblocks.

Idea (and most of the sed expression) from Jakub Jelinek.
2005-01-05 12:16:49 +00:00
tsutsui cac3513fa5 Purge vm_offset_t. 2005-01-05 10:25:43 +00:00
tsutsui 41e8037c12 Use MI <dev/ic/pcdisplay.h>. 2005-01-05 09:17:36 +00:00
tsutsui f97d50b3cf 'device-major ofcons' is required by device ofcons, not ofwgencfg. 2005-01-05 09:15:19 +00:00
tsutsui ccf08b263e - Remove attribute shark, which is always defined.
- arch/shark/ofw/ofisapc.c is required by ofisapc, not pc.
2005-01-05 09:13:29 +00:00
skrll 3a5765c0b0 Correct two reloc numbers/names 2005-01-05 09:12:38 +00:00
tsutsui f8d82b0fa1 options<space><tab> 2005-01-05 09:06:33 +00:00
tsutsui e2ccb8e626 Bump size of SYMTAB_SPACE. 2005-01-05 09:05:39 +00:00
tsutsui 944f772de9 options<space><tab> 2005-01-05 09:01:24 +00:00
joff 9c1013d65c Avoid duplicate IRQ deliveries by processing at most 1 IRQ for each VIC read 2005-01-05 04:53:50 +00:00
yamt 22cf117f61 km_vacache_alloc: UVM_PROT_ALL rather than UVM_PROT_NONE
so that uvm_kernacc works.  PR/28861. (FUKAUMI Naoki)
2005-01-05 00:58:57 +00:00
matt 1e9fedba3e Make sure to get the right softc in rriodone. 2005-01-04 19:36:48 +00:00
dyoung 00f3f1b613 In ad hoc mode, start the ath rate adaptation with the lowest, most
robust transmit bit rate.  From Greg Troxel.
2005-01-04 01:45:04 +00:00
dyoung e470ffcf3b Set initial conditions to guarantee that when read_seeprom toggles
Chip Select, it turns *on* rather than *off*.
2005-01-04 01:04:52 +00:00
dyoung 9a756f795b Add the logic for IBSS merges. 2005-01-04 01:00:30 +00:00
dyoung 5dc6377838 IBSS-merge clean-up, inspired by some Linux patches from Jon Anderson
(mail@janderson.ca): remove ieee80211_ibss_merge's TSFT argument.
Do the TSFT comparison in the drivers (ath, atw).  Remove a lot of
extraneous debug statements from ieee80211_ibss_merge.

Set the ieee80211_node's state to IEEE80211_STA_BSS after it's been
copied to the ic_bss, not before.

In struct ieee80211_node, make the ni_tstamp field a union of a
uint64_t and the 8 TSF octets so that it's easier to compare a
neighbor's TSF with the local TSF.

Log IBSS merges (Greg Troxel's suggestion).  Also log IBSS creation.
These are rare and important events that deserve to be logged.
2005-01-04 00:56:51 +00:00
dyoung 4c03aed52f In ieee80211_getmbuf, remove the #ifdef __FreeBSD__ code. Check
for MCLGET success using the (m->m_flags & M_EXT) idiom.
2005-01-04 00:36:18 +00:00
dyoung eeb33155cd Fix a typo. 2005-01-04 00:34:58 +00:00
heas fe4b3cd078 In tcp_respond(), clear the m_pkthdr.csum_flags that was inherited from the
received packet so that the checksum is not performed twice.  Also,
tcp_respond() does not fill-in the m_pkthdr.csum_data, so a h/w checksum may
have the wrong offset.

OK from Jason Thorpe.
2005-01-03 19:47:30 +00:00
yamt 546bb99833 reapply uvm_map.c rev.1.156 (use a zero-sized array instead of
c99 flexible array member) for ports which still use gcc 2.95.
from Havard Eidnes.
2005-01-03 19:46:22 +00:00
thorpej d3f6e9192f Add IO_NORMAL and IO_EXT flags, that will be used by file system extended
attribute support code.
2005-01-03 16:33:33 +00:00
yamt 0c5ceb72e4 km_vacache_alloc: specify va hint correctly rather than
using stack garbage.  PR/28845.
2005-01-03 04:01:13 +00:00
dyoung 66e0c6fbb9 sys/dev/ic/rtw.c:
Cosmetic: remove two short ladders from rtw_init.  Fit the
        NIC registers print-out onto one line using the RTW_PRINT_REGS
        macro.

sys/dev/ic/rtwvar.h:

        Add RTW_PRINT_REGS wrapper macro for rtw_print_regs.  It
        is a null op unless defined(RTW_DEBUG).
2005-01-03 03:25:06 +00:00
dyoung 4903d25d90 In sys/dev/ic/rtw.c:
Use clue from rtk(4) and re(4) to fix the rtw(4) packet
	filter.  Previously, I was using the wrong CRC32 function
	to hash multicast addresses; to compensate, I set the
	multicast filter to all 1s.  Now that I hash the addresses
	correctly, I do not any longer set the filter to all 1s.

	In rtw_ioctl, avoid gratuitous re-initialization when the
	interface flags change.  If a !IFF_UP -> IFF_UP transition,
	call rtw_init(); otherwise, only reload the packet filter.

In sys/dev/ic/rtwreg.h:

	Put useful combinations of Receiver Control Register flags
	in RTW_RCR_PKTFILT_MASK, RTW_RCR_MONITOR, and
	RTW_RCR_PKTFILT_DEFAULT.  (XXX RTW_RCR_MONITOR should be
	called RTW_RCR_PKTFILT_MONITOR.)
2005-01-03 03:07:12 +00:00
chs ddc6ab738a drop the big lock in upcallret() like all the other platforms do. 2005-01-03 00:03:25 +00:00
chris 80ba0e9617 Remove direct references to TAILQ internal structures.
No functional change, just tidying up code.
2005-01-02 22:47:26 +00:00
scw 71d14cde75 Major re-write of the recently-committed Synaptics Touchpad driver,
prompted by jittery and/or random movement during tap gestures, lack
of edge motion, and a general desire to make use of the extra features
available with the native protocol.

 - Ditch the kernel thread; it was overkill for the small amount of
   processing required to deal with touchpad events.

 - If we fail to probe a Synaptics touchpad, issue a RESET command
   to ensure that whatever device is out there is left in a sane
   state (thanks to Reinoud Zandijk for the hint).

 - Completely re-write gesture support.

 - Put the touchpad in 80 packets per second mode and count them so
   they can be used to time gesture durations (instead of using
   mono_time).

 - Enhance up/down button support with options to use them to emulate
   the middle button or Z-axis events (like a traditional wheel mouse).

 - Add 'edge motion'. If a drag gesture is in progress, and the reported
   finger position moves to the touchpad's border region, continue
   to report movement events at a fixed rate as if the finger carried
   on moving in the same direction. This restores some functionality
   usually provided by the touchpad's firmware in PS/2 mode.

 - Filter successive movement events to reduce jitter. When scaling
   movement events, fold the remainder into the next event to prevent
   loss of information during slow/small finger movements. Pointer
   movement is now much more refined.

 - Add support for touchpads which can report more than one finger on
   the pad simultaneously. Optionally use this feature for middle/right
   button emulation (i.e. tap two fingers to emulate middle button).
   This feature is disabled by default (for now) to avoid surprise
   pasting of clipboard text. ;-)
2005-01-02 22:37:12 +00:00
mhitch ee4185996c For Maxine serial console on a WSCONS kernel, use the correct channel
number.
2005-01-02 22:36:34 +00:00
mhitch 8bc24fad8f Fix long-standing error in interrupt index for Maxine built-in graphics
card.  It was using the same index as the Ethernet interface, but didn't
cause any problems until the new xcfb.c driver installed an interrupt
handler.  Ethernet interrupts went to the xcfb.c interrupt handler and
hung machine.
2005-01-02 22:34:57 +00:00
christos c15f6c31fd Try one more time to pacify lint. 2005-01-02 22:00:14 +00:00
christos b68cb5ea41 Simplify the lint case by providing simple versions of the va_ macros,
instead of defining the buildin macros used to construct them.
2005-01-02 21:55:59 +00:00
christos 603eb38ad9 make this compile again; hi potr 2005-01-02 21:15:48 +00:00
joff 33f8ad5c19 set L_SA_PAGEFAULT for prefetch aborts, too. Fixes kern/28828 2005-01-02 21:12:48 +00:00
mhitch 4b076289c1 Change screen blanking to be like other *fb.c drivers (and to not call
sfb_screenblank() needlessly).
2005-01-02 20:43:23 +00:00
mhitch b603617fbc Fix and simplify incorrect check for screen blanking in WSDISPLAYIO_SVIDEO. 2005-01-02 20:41:20 +00:00
mhitch c2f973c445 Fix a 3 year old error which caused px_init() to fail. Fixes PR 28798. 2005-01-02 19:25:56 +00:00
thorpej 6593d72e33 Add ENOATTR ("Attribute not found"). From FreeBSD. 2005-01-02 18:54:51 +00:00
christos 2b71b52431 Cast the sizeof operator to unsigned int in the __NFDBITS macro because it
is used as the RHS of a << operator. On machines where size_t is unsigned
long, and _LP64, we effectively get int32 << uint64 which is handled
differently in ansi c than K&R. In K&R the int32 would get promoted.
2005-01-02 18:33:14 +00:00
thorpej 4dfb0d5670 Regen for extended attribute system calls. 2005-01-02 17:47:29 +00:00
thorpej aee687701e Regen for extended attribute VOPs. 2005-01-02 17:46:41 +00:00
thorpej 1c95472d01 Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.
2005-01-02 16:08:28 +00:00
martin 9eba7eabba PR kern/28837: fix undef typo. 2005-01-02 15:43:49 +00:00