Commit Graph

688 Commits

Author SHA1 Message Date
mrg
f69243b6b2 move the initialiser for kernel_l1pt.pv_va to pacify GCC4. 2006-05-16 21:35:47 +00:00
elad
8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
thorpej
fb44a8574b Remove the devprop API and switch everthing over to the new proplib. Add
a new device_properties() accessor for device_t that returns the device's
property dictionary.
2006-05-05 18:04:41 +00:00
yamt
ffb731e056 adapt to iostat change. 2006-04-22 09:11:45 +00:00
drochner
1168954c68 adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson
2006-04-19 10:31:44 +00:00
pooka
37c14369ab Define the dcache size so that we can run our own homegrown cache
flush routine during startup.  XXX: I have absolutely no idea where
this managed to pick up DCACHE_SIZE from before.

closes port-evbarm/33276 by Peter Postma
2006-04-17 20:44:30 +00:00
jmmv
4208ccaafa Properly pass down the 'vs' cookie to pxa2x0_lcd_ioctl calls. Pointed out
by he@.
2006-04-17 15:59:47 +00:00
nonaka
407f05e765 A port of NetBSD to the I-O DATA HDL-G "Giga LANDISK".
Please refer to following URL for this machine.
http://www.iodata.com/products/products.php?cat=HNP&sc=HDL&ts=2&tsc=14&sc=HDL&pId=HDL-G400U
2006-04-16 02:22:33 +00:00
jmmv
aec18036fd Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.
2006-04-15 17:48:23 +00:00
christos
cf974ddc9d Adjust for new io_stats 2006-04-15 06:24:40 +00:00
simonb
f4dfb02e67 Bump SYMTAB_SPACE. 2006-04-14 10:36:56 +00:00
jmmv
7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
thorpej
39cd836ee1 Use device_unit(). 2006-03-28 17:38:24 +00:00
thorpej
3328b5dfae Use device_parent(). 2006-03-26 04:27:57 +00:00
scw
12dc74f622 RB_POWERDOWN trumps RB_HALT. 2006-03-11 09:09:41 +00:00
lukem
a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
he
8aa8bfed52 Remove another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
2006-03-07 23:32:53 +00:00
scw
5f212af961 Document the Flash layout, and how RedBoot invokes the kernel bootloader. 2006-03-04 13:17:18 +00:00
scw
3be7ae7547 The Slug's clock no longer runs slow. The default value of COUNTS_PER_SEC
was incorrect.
2006-03-04 11:28:36 +00:00
scw
ea5beb6718 Override the default timer frequency. Turns out the NSLU2's timers are
clocked at exactly 66.0MHz.
2006-03-04 11:27:12 +00:00
scw
c9e50b3c22 Simpify GPIO bits for power/reset buttons, and squash a (mostly harmless)
bug in the GPIO pin direction code.
2006-03-01 21:02:50 +00:00
scw
6f6167730e A port of NetBSD to the Linksys NSLU2 (a.k.a. "Slug").
The NSLU2 (Network Storage Link for USB 2.0 Disk Drives) is a small, *cheap*
NAS device consisting of an Intel IXP420 (Xscale) CPU, a 10/100mbit Ethernet
port, and two USB 2.0 ports. It has 32MB of SDRAM and 8MB of Flash memory,
and runs RedBoot/Linux out of the box. Now it can also run NetBSD.
2006-02-28 20:40:33 +00:00
thorpej
132ce1f07f Use device_is_a() 2006-02-26 05:24:52 +00:00
he
dee010acfb If the local variable changes name, modify it's uses as well. 2006-02-23 23:57:57 +00:00
he
afa1898cb0 Fix an obvious typo (missing closing paren). 2006-02-23 23:57:32 +00:00
thorpej
458b3e43f7 Use device_parent(). 2006-02-23 05:37:46 +00:00
thorpej
3ddf26777f Use device_is_active() rather than testing dv_flags for DVF_ACTIVE
directly.
2006-02-20 16:50:36 +00:00
thorpej
680d9eea68 - Don't expose dev_propdb directly -- provide devprop_*() wrappers instead.
- Rework the ARMADILLO / epe device properties interaction so that it actually
  associates the MAC address property with the epe device instance.
2006-02-18 05:04:11 +00:00
hamajima
9290fbe544 identify model from DeviceCfg register, and delete "options ARMADILLO210".
get DRAM information and boot argument from bootloader.
2006-02-13 12:24:21 +00:00
hamajima
b0ff3653c2 Add support for the Atmark Techno Armadillo-210.
Armadillo-210 is subset model of Armadillo-9.
2006-02-06 14:03:22 +00:00
cube
6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
he
021927bcf2 Bump SYMTAB_SPACE to make it fit again. 2006-02-04 09:11:32 +00:00
rpaulo
df5390003c bpfilter doesn't accept count anymore. 2006-02-04 02:42:27 +00:00
christos
606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
bouyer
bf1a4d2af5 properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
  for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.
2006-01-16 20:30:18 +00:00
he
b1bcd0ffae The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here.  Also adapt to the new zlib with the changed name
for the header file.
2006-01-16 19:34:53 +00:00
yamt
6d12f0a6d7 implement splraiseipl() for the following ports.
evbarm, iyonix, cats, netwinder, acorn26

reviewed by Bill Studenmund.
2006-01-01 14:24:33 +00:00
chs
33d70de438 remove the COM_MPLOCK option. always include the spinlock in the softc
and always call the simple_* locking functions.  the locking functions
are compiled out if they are not needed anyway, so a separate option
for this doesn't gain anything.

this also fixes the serial console on my alpha ES40 (which doesn't make much
sense since the com driver should still be under the big lock on alpha,
but whatever).
2005-12-27 00:46:38 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
briggs
23dfb2cd67 Add files that have been sitting in my local source tree for almost exactly
two years.  Unable to test since I no longer have access to the hardware.
2005-12-22 16:17:24 +00:00
tsutsui
f521bf5b9b Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:33:30 +00:00
briggs
c9d34b2987 Add an offset to the I/O port translations. This allows IQ80321
and others to avoid providing PCI I/O space at address 0.
Iyonix, however, needs to provide PCI I/O space at 0.
The others require I/O space to be offset in part due to a bug
work-around in wm(4) which requires that I/O space access be used
to reset the controllers.  If I/O space is mapped at zero, the card
claims, but ignores, the transactions, and the controller doesn't
get reset properly and can't then be used.
2005-12-15 01:44:00 +00:00
briggs
ae315be3b6 Bump SYMTAB_SPACE. 2005-12-14 16:21:55 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
he
6eb2140bc3 Bump SYMTAB_SPACE so that the symbol table fits again. 2005-12-05 22:30:38 +00:00
thorpej
cfc81086d9 swcr -> swcrypto 2005-11-25 16:41:31 +00:00
thorpej
7385cdd346 "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself.  Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24 Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
2005-11-25 16:30:23 +00:00