jdolecek
0979ebaa1c
g/c major for 'netsmb' and mark the slot free - it has never been used
2003-10-11 07:54:26 +00:00
christos
0fa70c1f22
fix syntax errors (hi manuel)
2003-10-11 03:04:34 +00:00
jdolecek
ef5bb330f5
reassing majors for crypto and pf to use the newly defined MI major
...
range
2003-10-10 22:42:39 +00:00
jdolecek
4e915c9ccd
update the comment - the space for machine-dependant majors
...
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
bouyer
7719e83c8b
Following Matt Thomas's request, rename ata attribute to ata_hl, and
...
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
bouyer
923e187eb7
Adapt for wdcattach() prototype change.
2003-10-08 11:01:16 +00:00
bouyer
adb3f1c3c5
Add atabus
2003-10-08 11:00:38 +00:00
simonb
970b12080e
Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
...
against them.
2003-10-08 01:40:22 +00:00
jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
thorpej
2652188cc4
New generic I2C framework. Supports bit-bang and "intelligent" I2C
...
interface controllers (of varying intelligence levels).
Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
nathanw
4d59420344
Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
...
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
mycroft
eefae40298
Hide the use of config_interrupts() in one place.
2003-09-25 19:29:48 +00:00
mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
matt
c280e763ef
Adapt to new wdcattach calling conventions.
2003-09-21 15:11:04 +00:00
matt
749adf24a9
Fix GCC 3.3.1 nits.
2003-09-21 15:10:05 +00:00
matt
f9188e9265
Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 14:17:13 +00:00
mycroft
d40837608f
1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
...
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
(it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
*_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
drives more quickly.
2003-09-19 21:35:56 +00:00
chris
cfb7a98211
Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
...
SA_SIGINFO work.
2003-09-13 13:30:01 +00:00
itojun
4440262659
create /dev/crypto
2003-08-22 05:06:22 +00:00
he
b6643fd4d3
Adapt to const-ification of first arg of open function in fs_ops.
2003-08-21 23:15:18 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
bjh21
6407c43a48
Descend into stand so boot32 gets built.
2003-08-02 17:57:35 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
reinoud
4080bf9381
First step towards more KNF; but most of all hopefully solving PR
...
acorn32/15850
2003-07-20 07:08:45 +00:00
lukem
1b7326b581
use __KERNEL_RCSID() in a consistent manner
2003-07-14 22:48:19 +00:00
lukem
de043b8788
use __KERNEL_RCSID(0, instead of RCSID( in the kernel
2003-07-14 15:17:13 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
reinoud
9af716fd9a
Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
...
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
reinoud
ebf458470d
New version of the AKF60 monitor definition file.
2003-06-04 23:24:56 +00:00
reinoud
af73cdf2ea
Cleanup DRAM video memory allocation. This needed to be done anyway and it
...
also ought to solve bootproblems with the A7000(+) family.
As an extra benefit, the surplus memory of the screen is returned to the
memorypool.
2003-06-03 12:53:47 +00:00
thorpej
d5bcde54a7
Move KERNEL_VM_SIZE into the C files where its used.
2003-05-22 05:47:04 +00:00
thorpej
1963a8521c
Use virtual_avail and virtual_end to compute the size of the available
...
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.
2003-05-22 05:25:48 +00:00
thorpej
361d0454ce
Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
2003-05-21 22:48:20 +00:00
thorpej
23a378ef93
Remove one last old pmap remnant.
2003-05-21 17:37:57 +00:00
thorpej
f7307b5d21
Fully switch acorn32 to the new pmap; it has been confirmed to work.
2003-05-21 17:17:50 +00:00
thorpej
bbba90a2fb
Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
...
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
2003-05-03 18:25:28 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
thorpej
aae7e372b7
Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
...
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
2003-05-03 03:49:03 +00:00
thorpej
4eeee795e8
Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
...
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
2003-05-02 23:22:33 +00:00
thorpej
7de2c299a2
Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
...
doesn't use it.
2003-04-28 01:34:28 +00:00
chris
eff844e738
Add support for ARM32_PMAP_NEW. Note that due to changes to how the l1
...
table is handled the podulebus mappings are now done at initarm, rather
than in the podulebus code. While I'm not happy with this it does work,
perhaps there's a better way to do it?
Not enableing by default I've not got enough cards to check the podulebus
change hasn't broken something (works with my rapide and with my network
podule)
2003-04-26 19:35:02 +00:00
ragge
d8c8fa8111
Add pseudo-device ksyms.
2003-04-26 14:10:04 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
bjh21
6a8eedfd87
KNF doesn't apply to Reinoud -- back out my last two changes.
2003-04-20 18:50:38 +00:00
bjh21
b196917760
KNF
2003-04-20 15:57:12 +00:00
bjh21
610cdc7b39
Create a symlink to sys/arch/arm/include alongside the one to
...
sys/arch/${MACHINE}/include.
2003-04-20 14:37:59 +00:00