Browse Source

Plan 9 from Bell Labs 2010-01-17

David du Colombier 10 years ago
parent
commit
372adb5430
3 changed files with 8 additions and 3 deletions
  1. 1 1
      mail/lib/validateattachment
  2. 2 2
      sys/man/4/usb
  3. 5 0
      sys/src/9/kw/io.h

+ 1 - 1
mail/lib/validateattachment

@@ -46,7 +46,7 @@ case *'zip archive'*
 		exit discard
 	}
 
-case jpeg 'PNG image' bmp 'GIF image' *'plan 9 image'
+case jpeg 'PNG image' bmp 'GIF image' *'plan 9 image'*
 	save accept
 	exit accept
 

+ 2 - 2
sys/man/4/usb

@@ -8,8 +8,8 @@ kb,
 print,
 probe,
 serial,
-usbfat:,
-usbeject
+usbeject,
+usbfat:
 \- Universal Serial Bus device drivers
 .SH SYNOPSIS
 .B usb/kb

+ 5 - 0
sys/src/9/kw/io.h

@@ -230,6 +230,11 @@ enum {
 	Addrpcibase	= Regbase+0x41800,
 
 	Addrusb		= Regbase+0x50000,
+
+	Addrsata	= Regbase+0x80000,	/* sata config reg here */
+	Addrsata0	= Regbase+0x82000,	/* edma config reg here */
+	Addrsata1	= Regbase+0x84000,	/* edma config reg here */
+
 	AddrSdio	= Regbase+0x90000,
 };